Please enable JavaScript to view this site.

Performance Validator Help

Navigation: » No topics above this level «

C# API

Scroll Prev Top Next More

The C# API is a wrapper around the native API.

 

For all of these APIs see the native API for more details.

 

 

Adding the API to your application

 

The C# API is provided as a source code svlPVAPI.cs file that you add to your application. The source file is in the API directory in the Performance Validator install directory.

 

The C# API does not add any dependencies to your application - if Performance Validator is present the API functions work, if Performance Validator is not present the API functions do nothing.

 

 

The C# API

 

The C# API is implemented by the PerformanceValidator class in the SoftwareVerify namespace.

 

 

collectOn()

 

Turn data collection on.

 
public static void collectOn();
 

 

collectOff()

 

Turn data collection off.

 
public static void collectOff();
 

 

setCollect()

 

Turn data collection on or off.

 
public static void setCollect(bool enable);
 

 

getCollect()

 

Determine if data collection is turned on or off.

 
public static bool getCollect();