Table of Contents

Method Init

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

Init(string)

Initializes memory protocol scheme for use with the WebBrowser control.

bool Init(string schemeName)

Parameters

schemeName string

Name of the url protocol that will be used instead of http.

Returns

bool

Examples

WebBrowser1.MemoryFS.Init("memory");
WebBrowser1.MemoryFS.AddString("myFolder/index.html",
    "sample html file");
WebBrowser1.LoadURL("memory:myFolder/index.html");

Remarks

You need to call this method before any other methods of the interface.