Moved the secure buffer code to its own folder.
This commit is contained in:
20
SecureBuffer/SecureBuffer.cs
Normal file
20
SecureBuffer/SecureBuffer.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NSspi.Contexts
|
||||
{
|
||||
[StructLayout( LayoutKind.Sequential )]
|
||||
public unsafe struct SecureBuffer
|
||||
{
|
||||
public int Count;
|
||||
|
||||
public BufferType Type;
|
||||
|
||||
// A pointer to a byte[]
|
||||
public IntPtr Buffer;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user