LicenseManagerLicenseFile Method (String) |
Namespace: VIZCore3D.NET.Manager
public LicenseResults LicenseFile( string path )
private void CreateVIZCore3D() { vizcore3d.OnInitializedVIZCore3D += VIZCore3D_OnInitializedVIZCore3D; } private void VIZCore3D_OnInitializedVIZCore3D(object sender, EventArgs e) { VIZCore3D.NET.Data.LicenseResults result = vizcore3d.License.LicenseFile("C:\\Temp\\VIZCore3D.NET.lic"); if (result != Data.LicenseResults.SUCCESS) { MessageBox.Show(string.Format("LICENSE CODE : {0}", result.ToString()), "VIZCore3D.NET", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } }