관리자 권한으로 Powershell 실행하시길 바랍니다.SSHFS로 마운트 (WSL 사용)Windows의 net use가 SSH 키를 직접 지원하지 않으므로 WSL을 사용하여 SSHFS로 마운트하는 것이 더 확실한 방법입니다.1. WSL(Windows Subsystem for Linux) 설치wsl --install -d Ubuntu#(이미 설치되어 있다면 생략)이미 설치 되어 있다면 로그인 된 화면이 보입니다.설치를 진행한다면 사용할 계정 정보를 요구 하므로 자신이 기억하기 쉬운 것으로 입력합니다.1.1. WSL에서 SSHFS 설치sudo apt update && sudo apt -y upgrade && sudo apt install --reinstall fuse && sudo apt install -..
분류 전체보기

1. C#의 ServicePointManager 설정 문제using System;using System.Net;using System.Net.Http;using System.Security.Cryptography.X509Certificates;class Program{ static void Main() { // TLS 1.2 이상을 활성화 ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls13; // SSL/TLS 인증서 검증 우회 (테스트용, 실제 운영에서는 사용 X) ServicePointManager.ServerCertific..
TLS 문제 처리https://stackoverflow.com/questions/71116436/database-mail-will-not-send-email-to-smtp-office365-com?utm_source=chatgpt.com Microsoft 365는 전역(인프라?)이 - TLS v 1.2가 기본SQL Server 2017 이하 버전은 아래 관련 내용이 필요할 수 있습니다.https://learn.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-microsoft-365-or-office-365아래 내용에서 레지스트리 ..

* 2024/11/08 일 기준으로 작성 되었습니다.* 환경은 CentOS 7, MSSQL 2008 입니다. FreeTDS가 OpenSSL을 사용하는 경우도 있고 GnuTLS를 사용하는 경우도 있어서 오류 확인 및 설정 확인 내용을 포함하여 작성 되었습니다. tsql 명령으로 테스트시 Error 20002 (severity 9): Adaptive Server connection failed 오류 발생locale is "en_US.UTF-8"locale charset is "UTF-8"using default charset "UTF-8"Error 20002 (severity 9): Adaptive Server connection failedThere was a problem connecti..
Devexpress의 Winform 의 GridControl (GridView, BandedGridView) 및 TreeList 의 Indicator Header에 버튼을 추가 하는 코드 /*// 사용법// 이미지 및 ToolTipContainer 를 인스턴스의 속성으로 노출IndicatorHeaderButton indicatorHeaderButton = new IndicatorHeaderButton(this.gc_Input);indicatorHeaderButton.IndicatorButtonClick += (ss, ee) =>{ // 버튼 클릭};*/public sealed class IndicatorHeaderButton{ private static readonly string AddBu..
소스 코드에서 tree.FocuseNode.Check = true 등을 설정할 경우 BeforeCheckNode, AfterCheckNode가 동작하지 않음End-User 용으로 키보드, 마우스 등의 프로그램 사용자가 행위에 대해서 이벤트 발생위와 같은 문제 처리를 위해서 Reflection을 사용하여 Event Method 를 찾아서 처리Devexpress Winform TreeListControl - 20.1.6.0 에서 작업 되었음private void RiaseBeforeAfterNodeChecked(TreeList tree, TreeListNode currentNode, bool toChecked){ System.ComponentModel.EventHandlerList eventHandle..