This documentation is archived and is not being maintained.

VirtualPathProvider.GetFileHash Method

Returns a hash of the specified virtual paths.

Namespace: System.Web.Hosting
Assembly: System.Web (in system.web.dll)

'Declaration
Public Overridable Function GetFileHash ( _
	virtualPath As String, _
	virtualPathDependencies As IEnumerable _
) As String
'Usage
Dim instance As VirtualPathProvider
Dim virtualPath As String
Dim virtualPathDependencies As IEnumerable
Dim returnValue As String

returnValue = instance.GetFileHash(virtualPath, virtualPathDependencies)
public String GetFileHash (
	String virtualPath, 
	IEnumerable virtualPathDependencies
)
public function GetFileHash (
	virtualPath : String, 
	virtualPathDependencies : IEnumerable
) : String
Not applicable.

Parameters

virtualPath

The path to the primary virtual resource.

virtualPathDependencies

An array of paths to other virtual resources required by the primary virtual resource.

Return Value

A hash of the specified virtual paths.

Use the GetFileHash method to provide a hash of the dependencies for a virtual-file-system resource.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: