I am trying to implement Cross-Site Request Forgery (CSRF) using Microsoft .Net ViewStateUserKey and Double Submit Cookie. For more please visit this [link](https://software-security.sans.org/developer-how-to/developer-guide-csrf)

The above code is in C# and i am converting this into VB.Net. Now The problem is that in this code there is a line

```
Page.PreLoad += master_Page_PreLoad;

```

When i try to convert the same line in VB.Net it does not find any such event `Page.PreLoad`

Please help how can i do this.

Thanks