/// <summary> /// Returns the authenticator for the given SupportedDrive /// </summary> /// <param name="fromDrive"></param> /// <returns></returns> internal static CloudAuthenticator GetAuthenticator(SupportedDrive fromDrive) { if (Authenticators.ContainsKey(fromDrive)) { return Authenticators[fromDrive]; } return null; }
public static string TranslatePathForDrive(string uniquePath, SupportedDrive fromDrive) { switch (fromDrive) { case SupportedDrive.SkyDrive: return GetTranslatePathForSkyDrive(uniquePath); } return null; }