Compartir a través de


GeneralFunctions.EncryptStringToBytes Method (String, Byte[], Byte[])

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Note: This API is now obsolete.

Encrypts the given text using symmetric Rijndael algorithm.

Namespace:   Microsoft.Uii.Common
Assembly:  Microsoft.Uii.Common (in Microsoft.Uii.Common.dll)

Syntax

[ObsoleteAttribute("This method has been deprecated.", true)]
public static byte[] EncryptStringToBytes(
    string plainText,
    byte[] Key,
    byte[] IV
)
<ObsoleteAttribute("This method has been deprecated.", True)>
Public Shared Function EncryptStringToBytes (
    plainText As String,
    Key As Byte(),
    IV As Byte()
) As Byte()

Parameters

  • plainText
    Type: System.String

    Specifies the string to be encrypted

  • Key
    Type: System.Byte[]

    Specifies the value of the key to be used for encryption

  • IV
    Type: System.Byte[]

    Specifies the initialization vector to be used for encryption

Return Value

Type: System.Byte[]

Byte array represented encrypted text.

See Also

GeneralFunctions Class
Microsoft.Uii.Common Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright