Table of contents
TOC
Collapse the table of content
Expand the table of content

EncryptionUtility.EncryptStringWithDPAPI Method

SharePoint Dev Documents|Last Updated: 5/19/2017
|
1 Contributor

Encrypts a string using the machine's DPAPI

Namespace:OfficeDevPnP.Core.Utilities
Assembly: OfficeDevPnP.Core.dll

Syntax

public static string EncryptStringWithDPAPI(SecureString input)

Parameters

input

  Type: System.Security.SecureString
  String (SecureString) to encrypt

Return Value

Type: string
Encrypted string

See also

© 2018 Microsoft