CSPdfSign.FileSign.FileSign C# (CSharp) Method

FileSign() static private method

static private FileSign ( ) : System
return System
        static FileSign()
        {
            SAPICrypt SAPI = new SAPICryptClass();
            int rc = SAPI.Init(); //SAPIInit() should be called once per process
            if (rc != 0) throw new Exception("Failed to initialize SAPI! (" + rc.ToString("X") + ")");
        }