VirtualPathProvider.GetFileHash Method (String, IEnumerable)


Returns a hash of the specified virtual paths.

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

public virtual string GetFileHash(
	string virtualPath,
	IEnumerable virtualPathDependencies


Type: System.String

The path to the primary virtual resource.

Type: System.Collections.IEnumerable

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

Return Value

Type: System.String

A hash of the specified virtual paths.

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

.NET Framework
Available since 2.0
Return to top