NHibernate.Lob.External.FileSystemCasConnection.FileSystemCasConnection C# (CSharp) Method

FileSystemCasConnection() public method

public FileSystemCasConnection ( string storagePath, string hashName ) : System
storagePath string
hashName string
return System
		public FileSystemCasConnection(string storagePath, string hashName)
		{
			path = System.IO.Path.GetFullPath(storagePath);
			this.hashName = hashName;
			if (hashName == null)
				hashLength = 20;
			else
				using (HashAlgorithm hash = HashAlgorithm.Create(hashName))
					hashLength = hash.HashSize / 8;
		}

Same methods

FileSystemCasConnection::FileSystemCasConnection ( string storagePath ) : System