Table of Contents

Method DefaultStreamFromUrl

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

DefaultStreamFromUrl(string, Uri?)

Default implementation of StreamFromUrl(string, Uri?). See StreamFromUrl(string, Uri?) for details.

public static Stream DefaultStreamFromUrl(string url, Uri? baseUri = null)

Parameters

url string

Url used to load the data. By default "file" and "embres" protocols are supported but you can extend it with CustomStreamFromUrl event.

baseUri Uri

Specifies base url if url is not absolute.

Returns

Stream