I've written a WPF app in C# (4.5) and it connects to a DB2 server. I want to know if there's a way to check the local machine for a valid DB2 license and display a warning if it's not found.
Can you check for a DB2 license in C#?
224 views Asked by Sam At
2
There are 2 answers
0

You have to run the db2licm
command to check the DB2 license.
Click here to see how to run DB2 commands in C#.
There is not an api to access the license manager in DB2. However, you have two options: