I would like to be able to detect if the currently checked out ArcGIS license is Borrowed or not. I can get the license type from aoInitialize and whether the license is concurrent or fixed via the registry, but I can't figure out how to determine if it is borrowed. The only way I've found is to check the size of the ArcGIS TSF file in ProgramData/FLEXnet (file size is around 29kb if a license is borrowed and 35+ if it is not), but this is obviously not a good long term solution.