You must Sign In to post a response.
  • Category: .NET

    Encrypt and decrypt the path

    Hi all,

    how to encrypt and decrypt the path in C#.
    example: C:\cgyapplication\mtgstage\responsepath\

    I want above path need to be encrypted and decrypted.
    can anybody tell me how to do?
  • #769476
    To encrypt and decrypt the path in C# using C:\cgyapplication\mtgstage\responsepath\, You can watch some tutorial on Youtube which provides best solution related to your post.
    For more info contact at Traininginlucknow.
    Thanks & Regards

  • #769665
    try to check with below methods to encrypt and decrypt the string path

    Uri.UnescapeDataString(String) ;
    Uri.EscapeDataString(String);

    or
    use another set of methods which are in HttpServerUtility class

    HttpServerUtility.UrlEncode(string);
    HttpServerUtility.UrlDecode(string);

    Thanks!
    B.Ramana Reddy


  • Sign In to post your comments