Decode base 644/12/2023 String textEncoded = 8. String textDecoded = 8.DecodeBase64(textEncoded) String textEncoded = 8.EncodeBase64("test1.") Public static string DecodeBase64(this encoding, string encodedText)īyte textAsBytes = 64String(encodedText) Public static string EncodeBase64(this encoding, string text)īyte textAsBytes = encoding.GetBytes(text) Remark: Remember that to use Extension Method you have to (!) import the namespace with using keyword (in this case using ).Ĭode: namespace
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |