Esempio n. 1
0
        public Form1()
        {
            JitEncrypt jit = new JitEncrypt("http://dev.lystic.net/netprotect/test.php");//note this should point to your own web files (you can leave this as is to test on my own hosting)

            jit.Enable();

            InitializeComponent();

            if (TestlargeHeader())
            {
                NetProtectTestVOID();
            }
        }
Esempio n. 2
0
        public Form1()
        {
            if (user.isAuthenticated)
            {
                string     key = user.DownloadKey();
                JitEncrypt jit = new JitEncrypt("http://your.website.net/netprotect/api.php");
                jit.SetDecryptionKey(key);
                jit.Enable();
            }

            InitializeComponent();

            if (TestlargeHeader())
            {
                NetProtectTestVOID();
            }
        }