I have created guid from a string using below code:
private Guid GetGuid(string input)
{
byte[] inputBytes = Encoding.Default.GetBytes(input);
Guid hashGuid = new Guid(inputBytes);
return hashGuid;
}
suppose i given input parameter "Arvind" and got guid like: 77f92c53-38af-42f6-8289-fddbd32f228d
now i want to convert this guid "77f92c53-38af-42f6-8289-fddbd32f228d" back to my original string which is "Arvind" . is there any way?
Thaks,
Arvind


Tapan PatelRank #614 · 3.9K reputationPosted Mar 10, 2017, 5:03 AM EST
Arvind SinghRank #718 · 3.3K reputationPosted Mar 9, 2017, 6:57 PM EST
Sandip G PatilRank #1,083 · 1.8K reputationPosted Mar 9, 2017, 5:07 AM EST