Hi!
Is there any possibility in VB/C# to get the name of a constant by the value?
For example I get the value 8 by using the GetProperties regarding the power state.
And now I want to write the meaning of that value into a log file . The meaning is the constant name: VIX_POWERSTATE_POWERED_ON
But how can I get that name by using a value? I could write an own function for solving that problem.. but only if there's no other way.
Any ideas?
Thanks!