AxHost::State Constructor (Stream^, Int32, Boolean, String^)

 

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: