Edit

Share via


Pkcs12SafeBag.Encode Method

Definition

Encodes the SafeBag value and returns it as a byte array.

public:
 cli::array <System::Byte> ^ Encode();
public byte[] Encode ();
member this.Encode : unit -> byte[]
Public Function Encode () As Byte()

Returns

Byte[]

A byte array representing the encoded form of the SafeBag.

Exceptions

The object identifier value passed to the constructor was invalid.

Applies to