File tree Expand file tree Collapse file tree 1 file changed +1
-24
lines changed
How-to/How-to-View-Formfields-and-Annotations Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Original file line number Diff line number Diff line change @@ -23,33 +23,10 @@ static class Program
23
23
[ STAThread ]
24
24
static void Main ( )
25
25
{
26
- SyncfusionLicenseProvider . RegisterLicense ( FindLicenseKey ( ) ) ;
27
26
Application . EnableVisualStyles ( ) ;
28
27
Application . SetCompatibleTextRenderingDefault ( false ) ;
29
28
Application . Run ( new Form1 ( ) ) ;
30
29
}
31
-
32
- /// <summary>
33
- /// Finds the license key from the Common folder.
34
- /// </summary>
35
- /// <returns>Returns the license key.</returns>
36
- public static string FindLicenseKey ( )
37
- {
38
- #if NETCORE
39
- string licenseKeyFile = "..\\ ..\\ Common\\ SyncfusionLicense.txt" ;
40
- #else
41
- string licenseKeyFile = "..\\ Common\\ SyncfusionLicense.txt" ;
42
- #endif
43
- for ( int n = 0 ; n < 20 ; n ++ )
44
- {
45
- if ( ! System . IO . File . Exists ( licenseKeyFile ) )
46
- {
47
- licenseKeyFile = @"..\" + licenseKeyFile ;
48
- continue ;
49
- }
50
- return File . ReadAllText ( licenseKeyFile ) ;
51
- }
52
- return string . Empty ;
53
- }
30
+
54
31
}
55
32
}
You can’t perform that action at this time.
0 commit comments