C# Class Box.V2.Utility.Helper

A helper class.
Mostra file Open project: box/box-windows-sdk-v2

Public Methods

Method Description
Base64Encode ( string plainText ) : string

Encode string to base64

ConvertToUnixTimestamp ( System.DateTime date ) : double

Convert DateTime to unix timestamp.

Method Details

Base64Encode() public static method

Encode string to base64
public static Base64Encode ( string plainText ) : string
plainText string the string to be encoded.
return string

ConvertToUnixTimestamp() public static method

Convert DateTime to unix timestamp.
public static ConvertToUnixTimestamp ( System.DateTime date ) : double
date System.DateTime DateTime object.
return double