Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

GetSymmetricEncryptionKey Delegate

 

Updated: April 27, 2016

Applies To: Windows PowerShell

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)

Public Delegate Function GetSymmetricEncryptionKey (
	context As StreamingContext,
	<OutAttribute> ByRef key As Byte(),
	<OutAttribute> ByRef iv As Byte()
) As Boolean

Parameters

context
Type: System.Runtime.Serialization.StreamingContext

The streaming context, which contains the serialization context.

key
Type: System.Byte()

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

iv
Type: System.Byte()

An array of bytes that represents the returned initialization vector.

Return Value

Type: System.Boolean
Return to top
Show:
© 2016 Microsoft