LicenseManagerLicenseServer Method (String, Int32) |
Namespace: VIZCore3D.NET.Manager
public LicenseResults LicenseServer( string ip, int port )
private void CreateVIZCore3D() { vizcore3d.OnInitializedVIZCore3D += VIZCore3D_OnInitializedVIZCore3D; } private void VIZCore3D_OnInitializedVIZCore3D(object sender, EventArgs e) { VIZCore3D.NET.Data.LicenseResults result = vizcore3d.License.LicenseServer("127.0.0.1", 8901); if (result != Data.LicenseResults.SUCCESS) { MessageBox.Show(string.Format("LICENSE CODE : {0}", result.ToString()), "VIZCore3D.NET", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } }