C# Logonuser Asi
Join the DZone community and get the full member experience.Join For Free
To validate a windows login
[DllImport("advapi32.dll", SetLastError = true)] public static extern bool LogonUser( string lpszUsername, string lpszDomain, string lpszPassword, int dwLogonType, int dwLogonProvider, out IntPtr phToken );
Opinions expressed by DZone contributors are their own.