CngProperty Структура

Определение

Encapsulates a property of a Cryptography Next Generation (CNG) key or provider.Encapsulates a property of a Cryptography Next Generation (CNG) key or provider.

public value class CngProperty : IEquatable<System::Security::Cryptography::CngProperty>
public struct CngProperty : IEquatable<System.Security.Cryptography.CngProperty>
type CngProperty = struct
Public Structure CngProperty
Implements IEquatable(Of CngProperty)
Наследование
CngProperty
Реализации

Комментарии

Этот класс инкапсулирует имя свойства (строку), значение (массив байтов), флаг CngPropertyOptions, свойства метода доступа, а затем функции сравнения и хэширования.This class encapsulates a property name (a string), a value (byte array), a CngPropertyOptions flag, accessor properties, and comparison and hashing functions.

Этот класс используется с методами SetProperty и GetProperty.This class is used with the SetProperty and GetProperty methods.

Конструкторы

CngProperty(String, Byte[], CngPropertyOptions)

Initializes a new instance of the CngProperty class.Initializes a new instance of the CngProperty class.

Свойства

Name

Gets the property name that the current CngProperty object specifies.Gets the property name that the current CngProperty object specifies.

Options

Gets the property options that the current CngProperty object specifies.Gets the property options that the current CngProperty object specifies.

Методы

Equals(CngProperty)

Compares the specified CngProperty object to the current CngProperty object.Compares the specified CngProperty object to the current CngProperty object.

Equals(Object)

Compares the specified object to the current CngProperty object.Compares the specified object to the current CngProperty object.

GetHashCode()

Generates a hash value for the current CngProperty object.Generates a hash value for the current CngProperty object.

GetValue()

Gets the property value that the current CngProperty object specifies.Gets the property value that the current CngProperty object specifies.

Операторы

Equality(CngProperty, CngProperty)

Determines whether two CngProperty objects specify the same property name, value, and options.Determines whether two CngProperty objects specify the same property name, value, and options.

Inequality(CngProperty, CngProperty)

Determines whether two CngProperty objects do not specify the same property name, value, and options.Determines whether two CngProperty objects do not specify the same property name, value, and options.

Применяется к