C# (CSharp) Dse.Auth.Sspi.Buffers SecureBuffer - 7 примеров найдено. Это лучшие примеры C# (CSharp) кода для Dse.Auth.Sspi.Buffers.SecureBuffer, полученные из open source проектов. Вы можете ставить оценку каждому примеру, чтобы помочь нам улучшить качество примеров.
Похожие
Related in langs
Stores buffers to provide tokens and data to the native SSPI APIs.
The buffer is translated into a SecureBufferInternal for the actual call. To keep the call setup code simple, and to centralize the buffer pinning code, this class stores and returns buffers as regular byte arrays. The buffer pinning support code in SecureBufferAdapter handles conversion to SecureBufferInternal for pass to the managed api, as well as pinning relevant chunks of memory. Furthermore, the native API may not use the entire buffer, and so a mechanism is needed to communicate the usage of the buffer separate from the length of the buffer.