using System;
namespace AppLimit.CloudComputing.SharpBox.StorageProvider.CIFS
{
///
/// This class implements all BoxNet specific configurations
///
public class CIFSConfiguration : ICloudStorageConfiguration
{
private bool _trustUnsecureSslConnections;
///
/// ctor of the Box.Net configuration
///
public CIFSConfiguration(string path)
{
ServiceLocator = new Uri(path);
}
///
/// Specifies if we allow not secure ssl connections
///
public bool TrustUnsecureSSLConnections
{
get { return _trustUnsecureSslConnections; }
set { _trustUnsecureSslConnections = value; }
}
#region ICloudStorageConfiguration Members
private CloudStorageLimits _limits = new CloudStorageLimits { MaxDownloadFileSize = -1, MaxUploadFileSize = -1 };
///
/// Sets or gets the limits of a webdav configuration
///
public CloudStorageLimits Limits
{
get { return _limits; }
set { _limits = value; }
}
///
/// Gets the webdav service url
///
public Uri ServiceLocator { get; set; }
#endregion
}
}