C# Класс Utilities.IO.Extensions.UriExtensions

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

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

Метод Описание
Read ( this uri, WebClient client, string userName = "", string password = "" ) : Stream

Reads the text content of a URI

Read ( this uri, string userName = "", string password = "" ) : string

Reads the text content of a URI

ReadBinary ( this uri, string userName = "", string password = "" ) : byte[]

Reads the content of a URI

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

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

Reads the text content of a URI
public static Read ( this uri, WebClient client, string userName = "", string password = "" ) : Stream
uri this The Uri to read the content of
client System.Net.WebClient WebClient used to load the data
userName string User name used in network credentials
password string Password used in network credentials
Результат Stream

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

Reads the text content of a URI
public static Read ( this uri, string userName = "", string password = "" ) : string
uri this Uri to read the content of
userName string User name used in network credentials
password string Password used in network credentials
Результат string

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

Reads the content of a URI
public static ReadBinary ( this uri, string userName = "", string password = "" ) : byte[]
uri this Uri to read the content of
userName string User name used in network credentials
password string Password used in network credentials
Результат byte[]