LosFormatter Constructor (Boolean, Byte[])

 

Initializes a new instance of the LosFormatter class using the specified enable flag and machine authentication code (MAC) key modifier.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public LosFormatter(
	bool enableMac,
	byte[] macKeyModifier
)

Parameters

enableMac
Type: System.Boolean

true to enable view-state MAC; otherwise, false.

macKeyModifier
Type: System.Byte[]

The modifier for the MAC key.

.NET Framework
Available since 2.0
Return to top
Show: