TwitCore/Models/TextFile.cs
/// <summary>
/// Reads from a text file and returns a base64 string
/// </summary>
/// <returns>Base64 string</returns>
Reads from a text file and returns a base64 string
Reads from a text file and returns a base64 string
public string ReadFileAsBase64() {
            if (this.path == null || this.path.Length == 0)
                throw new ArgumentNullException("TextFile.path");
            return System.Text.Encoding.UTF8.EncodeBase64(ReadFile());
        }
public string ReadFileAsBase64 ( ) { if ( this . path == null || this . path . Length == 0 ) throw new ArgumentNullException ( " " ) ; return System . Text . Encoding . UTF8 . EncodeBase64 ( ReadFile ( ) ) ; }
Reads from a text file and returns a base64 string
Reads from a text file and returns a base64 string
None