C# Class Microsoft.Protocols.TestSuites.BranchCache.ContentInformationUtility

Show file Open project: Microsoft/WindowsProtocolTestSuites

Public Methods

Method Description
ClearContentServerHash ( ) : void
ContentInformationUtility ( ITestSite testSite, TestConfig testConfig, ISUTControlAdapter sutControlAdapter ) : System
CreateContentInformationV1 ( ) : Content_Information_Data_Structure
CreateContentInformationV2 ( ) : Content_Information_Data_Structure_V2
ForceTriggerContentServerHashGeneration ( ) : void
ForceTriggerContentServerHashGeneration ( string filename ) : void
RetrieveContentData ( ) : byte[]
RetrieveContentData ( string filename ) : byte[]
RetrieveContentInformation ( BranchCacheVersion version ) : byte[]
RetrieveContentInformation ( BranchCacheVersion version, string filename ) : byte[]
VerifyContentInformation ( byte content, byte contentInformation, BranchCacheVersion version ) : void
VerifyHashGenerationV1 ( byte content, Content_Information_Data_Structure contentInfo ) : void
VerifyHashGenerationV2 ( byte content, Content_Information_Data_Structure_V2 contentInfoV2 ) : void

Method Details

ClearContentServerHash() public method

public ClearContentServerHash ( ) : void
return void

ContentInformationUtility() public method

public ContentInformationUtility ( ITestSite testSite, TestConfig testConfig, ISUTControlAdapter sutControlAdapter ) : System
testSite ITestSite
testConfig Microsoft.Protocols.TestSuites.BranchCache.TestSuite.TestConfig
sutControlAdapter ISUTControlAdapter
return System

CreateContentInformationV1() public method

public CreateContentInformationV1 ( ) : Content_Information_Data_Structure
return Microsoft.Protocols.TestTools.StackSdk.BranchCache.Pccrc.Content_Information_Data_Structure

CreateContentInformationV2() public method

public CreateContentInformationV2 ( ) : Content_Information_Data_Structure_V2
return Microsoft.Protocols.TestTools.StackSdk.BranchCache.Pccrc.Content_Information_Data_Structure_V2

ForceTriggerContentServerHashGeneration() public method

public ForceTriggerContentServerHashGeneration ( ) : void
return void

ForceTriggerContentServerHashGeneration() public method

public ForceTriggerContentServerHashGeneration ( string filename ) : void
filename string
return void

RetrieveContentData() public method

public RetrieveContentData ( ) : byte[]
return byte[]

RetrieveContentData() public method

public RetrieveContentData ( string filename ) : byte[]
filename string
return byte[]

RetrieveContentInformation() public method

public RetrieveContentInformation ( BranchCacheVersion version ) : byte[]
version BranchCacheVersion
return byte[]

RetrieveContentInformation() public method

public RetrieveContentInformation ( BranchCacheVersion version, string filename ) : byte[]
version BranchCacheVersion
filename string
return byte[]

VerifyContentInformation() public method

public VerifyContentInformation ( byte content, byte contentInformation, BranchCacheVersion version ) : void
content byte
contentInformation byte
version BranchCacheVersion
return void

VerifyHashGenerationV1() public method

public VerifyHashGenerationV1 ( byte content, Content_Information_Data_Structure contentInfo ) : void
content byte
contentInfo Microsoft.Protocols.TestTools.StackSdk.BranchCache.Pccrc.Content_Information_Data_Structure
return void

VerifyHashGenerationV2() public method

public VerifyHashGenerationV2 ( byte content, Content_Information_Data_Structure_V2 contentInfoV2 ) : void
content byte
contentInfoV2 Microsoft.Protocols.TestTools.StackSdk.BranchCache.Pccrc.Content_Information_Data_Structure_V2
return void