ILOG CPLEX 11.0 User's Manual > Programming Considerations > Licensing an Application > Examples > The Putenv Method for .NET Users

Here is an example using Concert Technology for .NET users:

 Cplex.Putenv("ILOG_LICENSE_FILE=../../../certify/access.e.ilm");
      try {
         cplex = new Cplex();
      }
      catch (ILOG.Concert.Exception e) {
          System.Console.WriteLine("Concert exception caught: " + e);
      }