how to obtain "Measurement System" from "Regional Options"

  • Thread starter Thread starter =?iso-8859-1?Q?Jos=E9_Flores?=
  • Start date Start date
?

=?iso-8859-1?Q?Jos=E9_Flores?=

Hello,
i've tried to obtain this data but i didn't found it.
The only thing i found is the "IsMetric" property in
RegionInfo.CurrentRegion, but it doesn't show me the
current setting.

Thank you

José Flores
..
 
That should be sufficient. See how Platform SDK defines related setting:

LOCALE_IMEASURE
System of measurement. This value is 0 if the metric system (Système
International d'Unités, or S.I.) is used, and 1 if the U.S. system is used.
The maximum number of characters allowed for this string is two.

You can try to search MSDN for this topic and related ones.

HTH
Alex



Hello,
i've tried to obtain this data but i didn't found it.
The only thing i found is the "IsMetric" property in
RegionInfo.CurrentRegion, but it doesn't show me the
current setting.

Thank you

José Flores
..
 
Back
Top