File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,15 +16,13 @@ public class DeactivateCommand
1616{
1717 /**
1818 * <summary>Runs the MaxCut executable to deactivate the license.</summary>
19- *
20- * <param name="licenseCode">The license code to be deactivated.</param>
2119 */
22- public void Run ( string licenseCode )
20+ public void Run ( )
2321 {
2422 var startInfo = new ProcessStartInfo
2523 {
2624 FileName = @"C:\Program Files (x86)\MaxCut Software\MaxCut\MaxCut.exe" ,
27- Arguments = $ "license --deactivate \" { licenseCode } \" ",
25+ Arguments = $ "license --deactivate",
2826 RedirectStandardOutput = true ,
2927 UseShellExecute = false ,
3028 CreateNoWindow = true
Original file line number Diff line number Diff line change 2020
2121// Example of activating a license code via the MaxCut command line interface.
2222var deactivateCommand = new DeactivateCommand ( ) ;
23- deactivateCommand . Run ( "my-license-code" ) ;
23+ deactivateCommand . Run ( ) ;
You can’t perform that action at this time.
0 commit comments