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)

public:
virtual property PaddingMode Padding {
	PaddingMode get () override;
	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

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft