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 Function GetSymmetricEncryptionKey ( _
	context As StreamingContext, _
	<OutAttribute> ByRef key As Byte(), _
	<OutAttribute> ByRef iv As Byte() _
) As Boolean
/** @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