Table of Contents

Method Open

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

Open(Uri, Uri?)

Opens the asset with the requested URI.

public Stream Open(Uri uri, Uri? baseUri = null)

Parameters

uri Uri

The URI.

baseUri Uri

A base URI to use if uri is relative.

Returns

Stream

A stream containing the asset contents.

Exceptions

FileNotFoundException

The asset could not be found.