AxHost.State Constructor (Stream, Int32, Boolean, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the AxHost.State class for serializing a state.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public State(
	Stream ms,
	int storageType,
	bool manualUpdate,
	string licKey
)

Parameters

ms
Type: System.IO.Stream

A Stream in which the state is stored.

storageType
Type: System.Int32

An Int32 indicating the storage type.

manualUpdate
Type: System.Boolean

true for manual updates; otherwise, false.

licKey
Type: System.String

The license key of the control.

System_CAPS_security Security Note

Calling this method with untrusted data is a security risk. Call this method only with trusted data. For more information, see Untrusted Data Security Risks.

.NET Framework
Available since 1.1
Return to top
Show: