Value of type ‘String’ cannot be converted to ‘System.Security.SecureString’ | How to convert

preview_player
Показать описание
Hi Techies,
In this video we can learn the concept of "Secure String" data type.
How to convert String to a Secure String ?
How to convert a Secure string to a String ?
How to resolve SecureString conversion exception

************************************** UiPath by Sujitha *************************************************

string cannot be converted to secure string
Secure string cannot be converted to a string

Secure String:
What is?
SecureString is a string type that provides a measure of security.
It tries to avoid storing potentially sensitive strings in process memory as plain text.

How to Use??
--- Variable type - SecureString

When to Use??
--- GetCredential - UserName, password
--- http request, sap logon
--- Outlook activities

string cannot be converted to secure string

Secure string cannot be converted to a string

Рекомендации по теме