コード例 #1
0
 public unsafe static extern int AcceptSecurityContext(
     [In] ref CredHandle phCredential,
     [In, Out] void *phContext,
     [In] ref SecBufferDesc pInput,
     [In] int fContextReq,
     [In] int targetDataRep,
     [In, Out] ref CtxtHandle phNewContext,
     [In, Out] ref SecBufferDesc pOutput,
     [Out] out int pfContextAttr,
     [Out] out long ptsTimeStamp);
コード例 #2
0
 public unsafe static extern int AcquireCredentialsHandleA(
     [In, MarshalAs(UnmanagedType.LPStr)] string pszPrincipal,
     [In, MarshalAs(UnmanagedType.LPStr)] string pszPackage,
     [In] int fCredentialUse,
     [In] void *pvLogonId,
     [In] void *pAuthData,
     [In] void *pGetKeyFn,
     [In] void *pvGetKeyArgument,
     [Out] out CredHandle phCredential,
     [Out] out long ptsExpiry);
コード例 #3
0
 public static extern int FreeCredentialsHandle(
     [In] ref CredHandle phCredential);
コード例 #4
0
 public SafeCredHandle(CredHandle credHandle)
     : base(IntPtr.Zero, true)
 {
     this._Handle = credHandle;
 }