ChannelBinding 类
定义
ChannelBinding 类,该类封装指向用于将经过身份验证的事务绑定到安全通道的不透明数据的指针。The ChannelBinding class encapsulates a pointer to the opaque data used to bind an authenticated transaction to a secure channel.
public ref class ChannelBinding abstract : System::Runtime::InteropServices::SafeHandle
public ref class ChannelBinding abstract : Microsoft::Win32::SafeHandles::SafeHandleZeroOrMinusOneIsInvalid
public abstract class ChannelBinding : System.Runtime.InteropServices.SafeHandle
public abstract class ChannelBinding : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
type ChannelBinding = class
inherit SafeHandle
type ChannelBinding = class
inherit SafeHandleZeroOrMinusOneIsInvalid
Public MustInherit Class ChannelBinding
Inherits SafeHandle
Public MustInherit Class ChannelBinding
Inherits SafeHandleZeroOrMinusOneIsInvalid
- 继承
- 继承
注解
类实例中的通道绑定令牌 ChannelBinding 用于为集成 windows 身份验证提供扩展保护。The channel binding token in a ChannelBinding class instance is used to provide extended protection for integrated windows authentication.
构造函数
ChannelBinding() |
初始化 ChannelBinding 类的新实例。Initializes a new instance of the ChannelBinding class. |
ChannelBinding(Boolean) |
初始化 ChannelBinding 类的新实例。Initializes a new instance of the ChannelBinding class. |
字段
handle |
指定要包装的句柄。Specifies the handle to be wrapped. (继承自 SafeHandle) |
属性
IsClosed |
获取一个值,该值指示句柄是否已关闭。Gets a value indicating whether the handle is closed. (继承自 SafeHandle) |
IsInvalid |
在派生类中重写时,获取一个值,该值指示句柄值是否无效。When overridden in a derived class, gets a value indicating whether the handle value is invalid. (继承自 SafeHandle) |
IsInvalid |
获取一个值,该值指示句柄是否无效。Gets a value that indicates whether the handle is invalid. (继承自 SafeHandleZeroOrMinusOneIsInvalid) |
Size |
Size 属性获取与 ChannelBinding 实例关联的通道绑定令牌的大小(以字节为单位)。The Size property gets the size, in bytes, of the channel binding token associated with the ChannelBinding instance. |
方法
Close() |
标记句柄,以便释放资源。Marks the handle for releasing and freeing resources. (继承自 SafeHandle) |
DangerousAddRef(Boolean) |
手动递增 SafeHandle 实例中的引用计数器。Manually increments the reference counter on SafeHandle instances. (继承自 SafeHandle) |
DangerousGetHandle() |
返回 handle 字段的值。Returns the value of the handle field. (继承自 SafeHandle) |
DangerousRelease() |
手动递减 SafeHandle 实例中的引用计数器。Manually decrements the reference counter on a SafeHandle instance. (继承自 SafeHandle) |
Dispose() |
释放 SafeHandle 类使用的所有资源。Releases all resources used by the SafeHandle class. (继承自 SafeHandle) |
Dispose(Boolean) |
释放 SafeHandle 类所使用的非托管资源,指定是否执行常规释放操作。Releases the unmanaged resources used by the SafeHandle class specifying whether to perform a normal dispose operation. (继承自 SafeHandle) |
Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
ReleaseHandle() |
在派生类中重写时,执行释放句柄所需的代码。When overridden in a derived class, executes the code required to free the handle. (继承自 SafeHandle) |
SetHandle(IntPtr) |
将句柄设置为预先存在的指定句柄。Sets the handle to the specified pre-existing handle. (继承自 SafeHandle) |
SetHandleAsInvalid() |
将句柄标记为不再使用。Marks a handle as no longer used. (继承自 SafeHandle) |
ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |