次の方法で共有


Publish_BCFileHashes method of the MSFT_NetBranchCacheOrchestrator class

Creates hashes for file content.

Syntax

uint32 Publish_BCFileHashes(
  [in] string               Path[],
  [in] uint32               UseVersion,
  [in] boolean              StageData,
  [in] string               StagingPath,
  [in] string ReferenceFile In,
  [in] boolean              Force
);

Parameters

Path [in]

Specifies the file or folder to be hashed

UseVersion [in]

Specifies the version of the BranchCache hashing scheme to use

StageData [in]

Indicates the hashes should be saved to a staging area for future export

StagingPath [in]

Specifies a temporary folder to output staging data to

In [in]

Specifies a reference file from a previous execution

Force [in]

Indicates the operation should not prompt for confirmation

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\StandardCimv2
MOF
NetPeerDistCim.mof
DLL
NetPeerDistCim.dll

See also

MSFT_NetBranchCacheOrchestrator