Class PvDeviceInfo
Information identifying a device
Implements
Inherited Members
Namespace: eBUSDotNet
Assembly: eBUSDotNet.dll
Syntax
public class PvDeviceInfo : IDisposable
Remarks
PvDeviceInfo provides information about a GigE Vision device as found by either PvSystem/PvInterface or PvDeviceFinderWnd.
Fields
View SourceswigCMemOwn
Determines who is responsible for deleting the underlying C++ object.
Declaration
protected bool swigCMemOwn
Field Value
| Type | Description |
|---|---|
| bool |
Properties
View SourceClass
Gets the device class (transmitter, receiver, etc.).
Declaration
public PvDeviceClass Class { get; }
Property Value
| Type | Description |
|---|---|
| PvDeviceClass |
ConnectionID
Gets the connection identifier for the device.
Declaration
public string ConnectionID { get; }
Property Value
| Type | Description |
|---|---|
| string |
DisplayID
Gets the display identifier for the device.
Declaration
public string DisplayID { get; }
Property Value
| Type | Description |
|---|---|
| string |
IsConfigurationValid
Gets a value indicating whether the device configuration is valid.
Declaration
public bool IsConfigurationValid { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsLicenseValid
Gets a value indicating whether the device license is valid.
Declaration
public bool IsLicenseValid { get; }
Property Value
| Type | Description |
|---|---|
| bool |
LicenseMessage
Gets the license status message for the device.
Declaration
public string LicenseMessage { get; }
Property Value
| Type | Description |
|---|---|
| string |
ManufacturerInfo
Gets the manufacturer information string.
Declaration
public string ManufacturerInfo { get; }
Property Value
| Type | Description |
|---|---|
| string |
ModelName
Gets the device model name.
Declaration
public string ModelName { get; }
Property Value
| Type | Description |
|---|---|
| string |
SerialNumber
Gets the device serial number.
Declaration
public string SerialNumber { get; }
Property Value
| Type | Description |
|---|---|
| string |
Type
Gets the device info type (GEV, USB, Pleora protocol, etc.).
Declaration
public PvDeviceInfoType Type { get; }
Property Value
| Type | Description |
|---|---|
| PvDeviceInfoType |
UniqueID
Gets the unique identifier for the device.
Declaration
public string UniqueID { get; }
Property Value
| Type | Description |
|---|---|
| string |
UserDefinedName
Gets the user-defined name assigned to the device.
Declaration
public string UserDefinedName { get; }
Property Value
| Type | Description |
|---|---|
| string |
VendorName
Gets the device vendor name.
Declaration
public string VendorName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Version
Gets the device version string.
Declaration
public string Version { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
View SourceCopy()
Creates a copy of the PvDeviceInfo object.
Declaration
public PvDeviceInfo Copy()
Returns
| Type | Description |
|---|---|
| PvDeviceInfo | Pointer to the PvDeviceInfo copy. The user is reponsable to delete/free this pointer. |
Dispose()
Dispose.
Declaration
public void Dispose()
Dispose(bool)
Dispose
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
~PvDeviceInfo()
Destructor.
Declaration
protected ~PvDeviceInfo()
GetInterface()
Get the network adapter (#PvInterface) through which this device was reached.
Declaration
public PvInterface GetInterface()
Returns
| Type | Description |
|---|---|
| PvInterface | A pointer to the interface the device was found on. |
GetType()
Returns the type of the device info object.
Declaration
public PvDeviceInfoType GetType()
Returns
| Type | Description |
|---|---|
| PvDeviceInfoType | Type of the device info object. see #PvDeviceInfoType enum. |