using System; using System.Runtime.InteropServices; namespace NSspi.Buffers { /// /// Represents the native layout of the secure buffer descriptor that is provided directly /// to native API calls. /// [StructLayout( LayoutKind.Sequential )] internal struct SecureBufferDescInternal { /// /// The buffer structure version. /// public int Version; /// /// The number of buffers represented by this descriptor. /// public int NumBuffers; /// /// A pointer to a array of buffers, where each buffer is a byte[]. /// public IntPtr Buffers; /// /// Indicates the buffer structure version supported by this structure. Always 0. /// public const int ApiVersion = 0; } }