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

Afficher le fichier Open project: Microsoft/WindowsProtocolTestSuites

Méthodes publiques

Méthode Description
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[]

Method Details

DoUntilSucceed() public static méthode

public static DoUntilSucceed ( Func func, System.TimeSpan timeout, System.TimeSpan retryInterval ) : bool
func Func
timeout System.TimeSpan
retryInterval System.TimeSpan
Résultat bool

DownloadHTTPFile() public static méthode

public static DownloadHTTPFile ( string server, string file ) : byte[]
server string
file string
Résultat byte[]

DownloadSMB2File() public static méthode

public static DownloadSMB2File ( string server, string share, string file ) : byte[]
server string
share string
file string
Résultat byte[]

GenerateRandomArray() public static méthode

public static GenerateRandomArray ( int length ) : byte[]
length int
Résultat byte[]