Health​Client​Application Class

Definition

Represents a HealthVault client application.

public class HealthClientApplication : IDisposable
Inheritance
HealthClientApplication
Implements

Remarks

Use this class for creating a Windows client application for connecting to HealthVault.

Properties

Application​Connection

Gets an ApplicationConnection that represents the connection to HealthVault.

Application​Id

Gets the ID of the local client application.

Health​Service​Url

Gets the URL of the HealthVault platform service.

Master​Application​Id

Gets the ID of the master application.

Service​Instance

Gets the HealthVault web-service instance that this client application instance connects to, if it is specified during construction.

Shell​Url

Gets the URL of the HealthVault shell service.

Methods

Create(​Guid, ​Guid)

Create the application using values stored in the app.config file.

Create(​Guid, ​Guid, ​Health​Service​Instance)

Create an application based on the passed-in values.

Create(​Guid, ​Guid, ​Uri, ​Uri)

Create an application based on the passed-in values.

Create​Authorized​Connection(​Guid)

Creates an authorized client connection to the application.

Delete​Certificate()

Deletes the certificate created as part of application creation

Dispose()

Disposes the request.

Dispose(​Boolean)

Cleans up the cancel request trigger.

Get​Application​Creation​Url(​String)

Gets the URL of a web page that will direct the user to create the application.

Get​Application​Creation​Url(​String, ​String)

Gets the URL of a web page that will direct the user to create the application.

Get​Application​Creation​Url()

Gets the URL of a web page that will direct the user to create the application.

Get​Application​Info()

Gets an ApplicationInfo from the HealthVault server that describes the client application.

Get​User​Authorization​Url()

Gets the URL of a web page that will direct the user to authorize the application.

Get​User​Authorization​Url(​String)

Gets the URL of a web page that will direct the user to authorize the application, including optional APPAUTH parameters.

Start​Application​Creation​Process()

Start the application creation process with a default application name.

Start​Application​Creation​Process(​String)

Start the application creation process with a specified application name.

Start​User​Authorization​Process()

Start the authorization process.

Start​User​Authorization​Process(​String)

Start the authorization process with optional APPAUTH parameters.