Packet Sniffer SDK VCL Edition

HNPSManager :: Properties :: IsProtocolInstalled

 Previous Next

Return status of the protocol driver installation for current version of Packet Sniffer SDK.

Syntax:

property IsProtocolInstalled: BOOL; // read only

Description:

Since version 3.1 you can install PSSDK internal drivers statically using corresponding PSSDK propertys, that allows your application to get full access to PSSDK propertys under user account with restricted rights.

The driver installation process goes the following way:

1. PSSDK driver is copied in the %SYSTEM%\Drivers directory;

2. Driver is registered in the system registry;

3. Driver loading status is set as System (static loading, i.e. on the OS startup).

This property may be useful if you want to check in your application if the protocol driver is installed. For example, an application working under restricted rights can not install PSSDK driver, but using this property you can check if it will work under current user account or not.

This property doesn't require PSSDK to be initialized.

Example:

BOOL bRes = HNPSManager.IsProtocolInstalled;
if (bRes == TRUE) MessageBox(...);

Requirements:

Operating system

Operating systems supported: NT/2000/XP/2003/Vista.

See also:InstallProtocol, UninstallProtocol, IsLoopBackInstalled, InstallLoopBack, UninstallLoopBack