본문 바로가기

전체 글203

Windows 암호정책 확인하는 Class (VB 버전) Imports System Imports System.Collections.Generic Imports System.ComponentModel Imports System.Linq Imports System.Runtime.InteropServices Imports System.Security.Principal Imports System.Text Imports System.Threading.Tasks Public Class Sam_Class Partial Public Class SamServer : Implements IDisposable Private _handle As IntPtr Public Sub New(ByVal name As String, ByVal access As SERVER_ACCESS_MA.. 2020. 12. 1.
Windows 암호정책 확인하는 Class using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.InteropServices; using System.Security.Principal; using System.Text; using System.Threading.Tasks; namespace SAM_API_Test { public class SamServer : IDisposable { private IntPtr _handle; public SamServer(string name, SERVER_ACCESS_MASK access) { Name = name; Check(SamConnect(new U.. 2020. 12. 1.
kotlinx 사용하여 컨트롤러 쉽게 가기(주의!) 주의참고!!!! thdev.tech/android/2020/10/07/Remove-kotlinx-synthetic/ Kotlin Android Extension 링크된 문서를 읽어보면 Kotlin Android Extension 에 대해 파악할 수 있는데, 간단하게 설명하면 코드 내에서 View 를 가져오기 위해 findViewById() 를 사용하던 것을 그러한 과정없이 바로 사용할 수 있는 방법이다. 위에 plug-in 설치 과정에서 'Kotlin Extension for Android' 가 obsolete 되었고 해당 plug-in 은 'Kotlin' plug-in 에 모두 통합되었다는 것을 볼 수 있다. 이 때문에 따로 설정 없이 바로 Kotlin Android Extension 를 사용할 수 있.. 2020. 11. 23.
입력란에 Text입력 후 하단 입력 키보드 내리기 val imm = getSystemService(INPUT_METHOD_SERVICE) as InputMethodManager imm.hideSoftInputFromWindow(textInputLayout1.editText?.windowToken, 0) 2020. 11. 23.