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);
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);
public static extern int FreeCredentialsHandle( [In] ref CredHandle phCredential);
public SafeCredHandle(CredHandle credHandle) : base(IntPtr.Zero, true) { this._Handle = credHandle; }