AesManaged::Padding Property


Gets or sets the padding mode used in the symmetric algorithm.

Namespace:   System.Security.Cryptography
Assembly:  System.Core (in System.Core.dll)

property PaddingMode Padding {
	virtual PaddingMode get() override;
	virtual void set(PaddingMode value) override;

Property Value

Type: System.Security.Cryptography::PaddingMode

One of the enumeration values that specifies the type of padding to apply. The default is PKCS7.

.NET Framework
Available since 3.5
Return to top