Set the EnableViewStateMac property to true when a high degree of data integrity is required between postbacks, or where there is a high risk of tampering.
In most circumstances, do not set this property in code. Set the EnableViewStateMac attribute to true using the @ Page directive in the .aspx file. When the page is requested, the dynamically generated class sets the property.
A view state MAC is an encoded version of the hidden variable that a page's view state is persisted to when sent to the browser. When you set the EnableViewStateMac attribute to true, the encoded and encrypted view state is checked to verify that it has not been tampered with on the client.