I have some constant error codes in a class:
public class EDSDK
{
public const uint EDS_ERR_UNIMPLEMENTED = 0x00000001;
public const uint EDS_ERR_INTERNAL_ERROR = 0x00000002;
public const uint EDS_ERR_MEM_ALLOC_FAILED = 0x00000003;
}
How can I get the const name from an (hex encoded) value?