NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

PerformanceCounter.RawValue

Directly accesses the raw value of this counter. If counter type is of a 32-bit size, it will truncate the value given to 32 bits. This can be significantly more performant for scenarios where the raw value is sufficient. Note that this only works for custom counters created using this component, non-custom counters will throw an exception if this property is accessed.

[Visual Basic]
Public Property RawValue As Long
[C#]
public long RawValue {get; set;}
[C++]
public: __property __int64 get_RawValue();
public: __property void set_RawValue(__int64);
[JScript]
public function get RawValue() : long;
public function set RawValue(long);

See Also

PerformanceCounter Class | PerformanceCounter Members | System.Diagnostics Namespace