VirtualPathProvider::GetFileHash Method (String^, IEnumerable^)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
)

Parameters

virtualPath
Type: System::String^

The path to the primary virtual resource.

virtualPathDependencies
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
Show: