C# Класс Microsoft.Protocols.TestSuites.BranchCache.TestUtility

Показать файл Открыть проект

Открытые методы

Метод Описание
DoUntilSucceed ( Func func, System.TimeSpan timeout, System.TimeSpan retryInterval ) : bool
DownloadHTTPFile ( string server, string file ) : byte[]
DownloadSMB2File ( string server, string share, string file ) : byte[]
GenerateRandomArray ( int length ) : byte[]

Описание методов

DoUntilSucceed() публичный статический Метод

public static DoUntilSucceed ( Func func, System.TimeSpan timeout, System.TimeSpan retryInterval ) : bool
func Func
timeout System.TimeSpan
retryInterval System.TimeSpan
Результат bool

DownloadHTTPFile() публичный статический Метод

public static DownloadHTTPFile ( string server, string file ) : byte[]
server string
file string
Результат byte[]

DownloadSMB2File() публичный статический Метод

public static DownloadSMB2File ( string server, string share, string file ) : byte[]
server string
share string
file string
Результат byte[]

GenerateRandomArray() публичный статический Метод

public static GenerateRandomArray ( int length ) : byte[]
length int
Результат byte[]