C# odczytuje bajty z drogi, zamienia się w ciąg base64
Przykłady kodu
0
0
konwersja strumienia w ciągu base64 c#
You can also encode bytes to Base64. How to get this from a stream see here: How to convert an Stream into a byte[] in C#?
Or I think it should be also possible to use the .ToString() method and encode this.