اقرأ باللغة الإنجليزية تحرير

مشاركة عبر


VirtualPathProvider.GetFileHash(String, IEnumerable) Method

Definition

Returns a hash of the specified virtual paths.

C#
public virtual string GetFileHash(string virtualPath, System.Collections.IEnumerable virtualPathDependencies);

Parameters

virtualPath
String

The path to the primary virtual resource.

virtualPathDependencies
IEnumerable

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

Returns

A hash of the specified virtual paths.

Remarks

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

Applies to

منتج الإصدارات
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1