public LsaStringWrapper(string value)
 {
     this._string               = new LSA_STRING();
     this._string.Length        = (ushort)value.Length;
     this._string.MaximumLength = (ushort)value.Length;
     this._string.Buffer        = Marshal.StringToHGlobalAnsi(value);
 }
Ejemplo n.º 2
0
 public static extern WinStatusCodes LsaLookupAuthenticationPackage(
     [In] IntPtr LsaHandle,
     [In] ref LSA_STRING PackageName,
     out IntPtr AuthenticationPackage);