CyberSiARA™ | .Net

.Net Integration Guideline

Whatch the video to learn more on how to install SiARA Shield on your PHP website.

1. Download the CyberShield.dll file from here and Extract the zip.

2. Right click project and select Manage Nuget Packages.

3. Open new window Manage Nuget Package select Browse Tab And Search "CyberSiARA" and Install.


4. Get your Public and Private key from mycybersiara.com

5. Add namespace using SiaraShield;

6. Copy the code below before processing the request. Add your Private Key in “PRIVATE-KEY”.

var token = Request.Form["CyberSiaraToken"];
var result = false;
Task.Run(async () =>
{
   result= await new CyberSiaraValidator().ValidateTokenAsync("PRIVATE-KEY", token);
   if (result)
   {
    //Place the submit button code here
   }
}).ConfigureAwait(true);

7. Once all these steps are done, go to your browser and refresh the page and enjoy the SiaraShield. Thank you for using SiaraShield!