Net Encryption Library
HashFile(HashProvider,String) Method






KellermanSoftware.NetEncryptionLibrary Namespace > Encryption Class > HashFile Method : HashFile(HashProvider,String) Method
Type of the hash.
The input file path.
Deprecated. Use HashFileBase64 instead. There is also a new method HashFileHex
Syntax
'Declaration
 
<System.ObsoleteAttribute("Deprecated. Use HashFileBase64 instead. There is also a new method HashFileHex", False)>
Public Overloads Function HashFile( _
   ByVal hashType As HashProvider, _
   ByVal inputFilePath As System.String _
) As System.String
'Usage
 
Dim instance As Encryption
Dim hashType As HashProvider
Dim inputFilePath As System.String
Dim value As System.String
 
value = instance.HashFile(hashType, inputFilePath)
[System.Obsolete("Deprecated. Use HashFileBase64 instead. There is also a new method HashFileHex", false)]
public System.string HashFile( 
   HashProvider hashType,
   System.string inputFilePath
)
public function HashFile( 
    hashType: HashProvider;
    inputFilePath: System.String
): System.String; 
System.ObsoleteAttribute("Deprecated. Use HashFileBase64 instead. There is also a new method HashFileHex", )
public function HashFile( 
   hashType : HashProvider,
   inputFilePath : System.String
) : System.String;
[System.Obsolete("Deprecated. Use HashFileBase64 instead. There is also a new method HashFileHex", false)]
public: System.string* HashFile( 
   HashProvider hashType,
   System.string* inputFilePath
) 
[System.Obsolete("Deprecated. Use HashFileBase64 instead. There is also a new method HashFileHex", false)]
public:
System.String^ HashFile( 
   HashProvider hashType,
   System.String^ inputFilePath
) 

Parameters

hashType
Type of the hash.
inputFilePath
The input file path.

Return Value

System.String.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Encryption Class
Encryption Members
Overload List