using System; using System.Net; namespace AppLimit.CloudComputing.SharpBox.StorageProvider { /// /// This class contains the needed access credentials for a specific webdav /// user /// public class GenericCurrentCredentials : ICloudStorageAccessToken, ICredentials { #region ICredentials Members /// /// Returns the network credentials which can be used in webrequest. This method /// uses the standard credentials of the logged on user /// /// /// /// public virtual NetworkCredential GetCredential(Uri uri, string authType) { return CredentialCache.DefaultNetworkCredentials; } #endregion } }