Represents a file transmitted over the wire as a base64-encoded string.
public abstract class EncodedFile
EncodedFile
Initializes a new instance of the EncodedFile class.
protected EncodedFile(string base64EncodedFile)
Parameters
base64EncodedFile
string
The file as a Base64-encoded string.
If base64EncodedFile
is null.
The length of base64EncodedFile
, ignoring white-space characters, is not zero or a multiple of 4.
-or-
The format of base64EncodedFile
is invalid. base64EncodedFile
contains a non-base-64 character, more than two padding characters, or a non-white space-character among the padding characters.
Gets the value of the encoded file as a Base64-encoded string.
public string AsBase64EncodedString { get; }
Property Value
Gets the value of the encoded file as an array of bytes.
public byte[] AsByteArray { get; }
Property Value
Saves the file, overwriting it if it already exists.
public abstract void SaveAsFile(string fileName)
Parameters
fileName
string
The full path and file name to save the file to.
Returns a String that represents the current Object.
public override string ToString()
Returns
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4