Windows Dev Center

Expand Minimize

GetSymmetricEncryptionKey Delegate

Represents a method that is used in PSCredential to return the encryption key and initialization vector for a symmetric encryption algorithm. Introduced in Windows PowerShell 3.0.

Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

Dim instance As New GetSymmetricEncryptionKey(AddressOf HandlerMethod)

public delegate bool GetSymmetricEncryptionKey (
	StreamingContext context,
	out byte[] key,
	out byte[] iv
/** @delegate */
public delegate boolean GetSymmetricEncryptionKey (
	StreamingContext context, 
	/** @attribute OutAttribute() */ /** @ref */ byte[] key, 
	/** @attribute OutAttribute() */ /** @ref */ byte[] iv



The streaming context, which contains the serialization context.


An array of bytes that represents the returned symmetric encryption key.


An array of bytes that represents the returned initialization vector.


Target Platforms

© 2015 Microsoft