AesManaged.Padding 属性

定义

获取或设置对称算法中使用的填充模式。Gets or sets the padding mode used in the symmetric algorithm.

public:
 virtual property System::Security::Cryptography::PaddingMode Padding { System::Security::Cryptography::PaddingMode get(); void set(System::Security::Cryptography::PaddingMode value); };
public override System.Security.Cryptography.PaddingMode Padding { get; set; }
member this.Padding : System.Security.Cryptography.PaddingMode with get, set
Public Overrides Property Padding As PaddingMode

属性值

PaddingMode

枚举值之一,指定要应用的填充类型。One of the enumeration values that specifies the type of padding to apply. 默认值为 PKCS7The default is PKCS7.

注解

有关填充的详细信息,请参阅 PaddingSee the Padding for more information about padding.

适用于