CngProperty 結構
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
封裝 Cryptography Next Generation (CNG) 金鑰或提供者的屬性。
public value class CngProperty : IEquatable<System::Security::Cryptography::CngProperty>
C#
public struct CngProperty : IEquatable<System.Security.Cryptography.CngProperty>
type CngProperty = struct
Public Structure CngProperty
Implements IEquatable(Of CngProperty)
- 繼承
- 實作
此結構會將屬性名稱封裝 (字串) 、位元組陣列 (值) 、 CngPropertyOptions 旗標、存取子屬性,以及比較和哈希函式。
此結構會與 和 GetProperty 方法搭配SetProperty使用。
Cng |
初始化 CngProperty 結構的新執行個體。 |
Name |
取得目前 CngProperty 物件指定的屬性名稱。 |
Options |
取得目前 CngProperty 物件指定的屬性選項。 |
Equals(Cng |
將指定的 CngProperty 物件與目前的 CngProperty 物件相比較。 |
Equals(Object) |
將指定的物件與目前的 CngProperty 物件相比較。 |
Get |
產生目前 CngProperty 物件的雜湊值。 |
Get |
取得目前 CngProperty 物件指定的屬性值。 |
Equality(Cng |
判斷兩個 CngProperty 物件指定的屬性名稱、值和選項是否相同。 |
Inequality(Cng |
判斷兩個 CngProperty 物件是否未指定相同的屬性名稱、值和選項。 |
產品 | 版本 |
---|---|
.NET | Core 1.0, Core 1.1, 6, 7, 8, 9, 10 |
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided), 2.1 (package-provided) |
Windows Desktop | 3.0, 3.1, 5 |