Ejemplo n.º 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));
 }
Ejemplo n.º 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);
     }
 }
Ejemplo n.º 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)));
 }