Example #1
0
 public unsafe static SecurityStatus SafeQueryContextAttributes(
     ref SafeCtxtHandle context,
     out SecPkgContext_StreamSizes streamSizes)
 {
     fixed(void *buffer = &streamSizes)
     return(SafeQueryContextAttributes(ref context, UlAttribute.SECPKG_ATTR_STREAM_SIZES, buffer));
 }
Example #2
0
 public unsafe static void QueryContextAttributes(ref SafeCtxtHandle context, out SecPkgContext_StreamSizes streamSizes)
 {
     fixed(IntPtr *ptr = (IntPtr *)(&streamSizes))
     {
         Sspi.QueryContextAttributes(ref context, UlAttribute.SECPKG_ATTR_STREAM_SIZES, (void *)ptr);
     }
 }
Example #3
0
 public unsafe static SecurityStatus SafeQueryContextAttributes(ref SafeCtxtHandle context, out SecPkgContext_StreamSizes streamSizes)
 {
     return(Sspi.SafeQueryContextAttributes(ref context, UlAttribute.SECPKG_ATTR_STREAM_SIZES, (void *)(&streamSizes)));
 }