Partager via


Analytics Class

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Exposes read-only data about how an application is performing.

Inheritance Hierarchy

System.Object
  System.Windows.Analytics

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Class Analytics
public class Analytics

The Analytics type exposes the following members.

Constructors

  Name Description
Public method Analytics Initializes a new instance of the Analytics class.

Top

Properties

  Name Description
Public property AverageProcessLoad Gets a factor that reports the total load on the CPU that this process is using, determined across all cores averaged together.
Public property AverageProcessorLoad Gets a factor that reports the total load on the CPU by all processes, determined across all cores averaged together.
Public propertyStatic member ClientInformation Gets a collection of hashed pseudo unique Base64 string values on a per domain and machine basis.
Public property GpuCollection Gets a collection of GpuInformation objects which each include details taken from a video driver.

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Frees resources used by the Analytics class. (Overrides Object.Finalize().)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

Analytics are reported by the client host system. Information from Analytics is useful for obtaining driver information from a deployed application client. You can potentially associate Analytics driver-specific or hardware-specific information with particular customer-reported issues in your application. For example, driver information from a customer system is potentially useful data for reported issues involving performance of Silverlight media and display features that depend heavily on underlying hardware and drivers, such as smooth streaming video, adaptive streaming, GPU acceleration, and so on.

To use Analytics and get property values, initialize an instance of the class after your application has loaded all its components.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference