8
Diagnostic API

ghjfghjghjfghj

Embed Size (px)

DESCRIPTION

fghjfgjfghjghjghjghj

Citation preview

Diagnostic API

Diagnostic APIPublished December 27, 2007. Version 1.0.0.0

Copyright © 2007 Neurotechnologija

Content

1 Neurotec.Diagnostics Library ........................................................................................................................................ 4

1.1 DiagnosticProductId Enumeration ......................................................................................................................... 5

1.2 Diagnostics Class .................................................................................................................................................... 6

1.2.1 GetComLibsAndFPSmmContents Method ...................................................................................................... 7

1.2.2 GetGeneralInfo Method ................................................................................................................................. 7

1.2.3 GetInstalledRuntimesInfo Method ................................................................................................................. 7

1.2.4 GetMyIP Method ............................................................................................................................................ 7

1.2.5 GetPathEnvVariable Method .......................................................................................................................... 7

1.2.6 GetRegisteredComponents Method ............................................................................................................... 8

1.2.7 GetRunningPgInfo Method ............................................................................................................................. 8

1.2.8 GetTrialTimeLeft Method ............................................................................................................................... 8

1.2.9 TestTrialServerHttp Method ........................................................................................................................... 8

1.2.10 TestTrialServerSockets Method .................................................................................................................... 8

1 Neurotec.Diagnostics LibraryClasses

Diagnostics – provides functionality for retrieving diagnostic information.

Enumerations

DiagnosticProductId – specifies product.

1.1 DiagnosticProductId EnumerationSpecifies product.

public enum DiagnosticProductId

Members

Member name Description

VeriFinger Veri Finger

VeriLook Veri Look

MegaMatcher_Light MegaMatcher Light

MegaMatcher Mega Matcher

SentiSight Senti Sight

1.2 Diagnostics ClassProvides functionality for retrieving diagnostic information.

Methods

GetComLibsAndFPSmmContents Gets the information about the FPScannerManCom installed and contents of FPSmm folder details.

GetGeneralInfo Gets general information about the computer.

GetInstalledRuntimesInfo Gets information about installed C++ runtimes.

GetMyIP Gets IP address of current computer.

GetPathEnvVariable Gets the PATH environmental variable.

GetRegisteredComponents Gets the information about components of the product in the folder definied.

GetRunningPgInfo Gets ingormation about the running pg.

GetTrialTimeLeft Gets information about the trial time left for current IP.

TestTrialServerHttp Gets information about trial server test.

TestTrialServerSockets Gets information about trial server (sockets) test.

1.2.1 GetComLibsAndFPSmmContents MethodGets the information about the FPScannerManCom installed and contents of FPSmm folder details.

public static string GetComLibsAndFPSmmContents(string folder

);Parameters

folder Folder to look in. (if null or empty, then current directory will be used).

Return Values

Returns the information about the FPScannerManCom installed and contents of FPSmm folder details.

1.2.2 GetGeneralInfo MethodGets general information about the computer.

public static string GetGeneralInfo();

Return Values

Retuns general information about the computer: Windows version, CPU information, RAM information

1.2.3 GetInstalledRuntimesInfo MethodGets information about installed C++ runtimes.

public static string GetInstalledRuntimesInfo();

Return Values

Returns information about installed C++ runtimes.

1.2.4 GetMyIP MethodGets IP address of current computer IP.

public static string GetMyIP();

Return Values

Returns IP address of current computer IP.

1.2.5 GetPathEnvVariable MethodGets the PATH environmental variable.

public static string GetPathEnvVariable();

Return Values

Returns the PATH environmental variable.

1.2.6 GetRegisteredComponents MethodGets the information about components of the product in the folder definied.

public static string GetRegisteredComponents(DiagnosticProductId id,string folder

);Parameters

id Id of the product.

folder Folder to look in. (if null or empty, then current directory will be used).

Return Values

Returns the information about components of the product in the folder definied.

1.2.7 GetRunningPgInfo MethodGets ingormation about the running pg.

public static string GetRunningPgInfo();

Return Values

Returns ingormation about the running pg: info about the pg.exe, reads pgd.conf, reads pgd.log.

1.2.8 GetTrialTimeLeft MethodGets information about the trial time left for current IP.

public static string GetTrialTimeLeft();

Return Values

Returns information about the trial time left for current IP.

1.2.9 TestTrialServerHttp MethodGets information about trial server test.

public static string TestTrialServerHttp();

Return Values

Returns information about trial server test.

1.2.10TestTrialServerSockets MethodGets information about trial server (sockets) test.

public static string TestTrialServerSockets();

Return Values

Returns information about trial server (sockets) test.