C#/기초
-
[C#] Delay, sleep, waitC#/기초 2024. 6. 14. 09:03
https://stackoverflow.com/questions/15599884/how-to-put-delay-before-doing-an-operation-in-wpf How to put delay before doing an operation in WPFI tried to use the below code to make a 2 second delay before navigating to the next window. But the thread is invoking first and the textblock gets displayed for a microsecond and landed into the ...stackoverflow.com https://m.blog.naver.com/chps74/2210..
-
-
[C#] gRPC MapGrpcService DI, with parameterC#/기초 2024. 6. 10. 16:30
Services.AddScoped();Services.AddSingleton~ https://stackoverflow.com/questions/37744637/how-can-i-pass-a-runtime-parameter-as-part-of-the-dependency-resolution How can I pass a runtime parameter as part of the dependency resolution?I need to be able to pass a connection string into some of my service implementations. I am doing this in the constructor. The connection string is configurable ..
-
[C#] dll COM 등록C#/기초 2024. 6. 5. 07:56
https://change-words.tistory.com/entry/windows-COM-dll-regsvr32 윈도우 레지스트리에 COM dll 등록하는 방법 (regsvr32)COM 모듈, 또는 COM DLL을 사용할 땐 윈도우 레지스트리에 dll을 등록하는 과정을 거쳐야 합니다. 이 작업은 regsvr32.exe를 통해 할 수 있습니다. COM DLL 등록 방법 regsvr32.exe란? regsvr32는 윈도우 레지스트change-words.tistory.com
-
[C#] Registry Read/WriteC#/기초 2024. 6. 3. 10:10
Write Read https://ardor-dev.tistory.com/32 [C#] 레지스트리 사용법 (읽기, 쓰기, 삭제, 64bit or 32bit)레지스트리(Registry)란? Microsoft Window 32/64bit 버전과 윈도우 모바일 운영체제의 설정과 선택 항목을 담고 있는 데이터 베이스입니다. 주로 윈도우즈 환경 설정과 관련된 각종 정보가 등록된 곳입니ardor-dev.tistory.com 삭제#Notewritable: true 로 해야 접근가능. https://stackoverflow.com/questions/10339990/set-registry-value-throws-unauthorizedaccessexception Set Registry value throws ..
-
-
[C#] MutexC#/기초 2024. 3. 27. 13:41
프로세스 간 동기화에 사용할 수도 있는 동기화 기본 형식입니다. WaitOne(); 사용하여 소유권 획득. ReleaseMutex 호출하여 뮤텍스의 소유권을 해제 https://learn.microsoft.com/ko-kr/dotnet/api/system.threading.mutex?view=net-8.0 Mutex 클래스 (System.Threading) 프로세스 간 동기화에 사용할 수도 있는 동기화 기본 형식입니다. learn.microsoft.com https://m.hanbit.co.kr/channel/category/category_view.html?cms_code=CMS9729751775 C# 쓰레드 이야기: 10. 뮤텍스(Mutex) 저자: 한동훈지난 시간에는 임계영역(Critical Sec..