Click or drag to resize
CameraDeviceInfoCreate Method
Connect to a camera with a static IP address. Creates a CameraDeviceInfo from an known address. Create() is trying to find the camera on the network.

Namespace: Flir.Atlas.Live.Discovery
Assembly: Flir.Atlas.Live (in Flir.Atlas.Live.dll) Version: 3.1
Syntax
C#
public static CameraDeviceInfo Create(
	string source,
	Interface adapterInterface
)

Parameters

source
Type: SystemString
For Gigabit cameras the source can be a MAC, IP or device name. For Networks camera the source have to be an IP address.
adapterInterface
Type: Flir.Atlas.Live.DiscoveryInterface

Return Value

Type: CameraDeviceInfo
The CameraDeviceInfo if the camera was found or null.
Examples
// Connect to the emulator. CameraDeviceInfo device = CameraDeviceInfo.Create("Unused", Interface.Emulator); if (device == null) { MessageBox.Show("Couldn't find the camera device"); return; } ThermalCamera stream = new ThermalCamera(true); stream.Connect(device); // Connect to a network camera with a specific IP address. device = CameraDeviceInfo.Create("192.168.1.120", Interface.Network); if (device == null) { MessageBox.Show("Couldn't find the camera device"); return; } ThermalCamera streamNetwork = new ThermalCamera(true); streamNetwork.Connect(device); // Connect to a gigabit camera with a specific IP address. device = CameraDeviceInfo.Create("192.168.1.120", Interface.Gigabit); // IP or MAC if (device == null) { MessageBox.Show("Couldn't find the camera device"); return; } ThermalCamera streamGigabit = new ThermalCamera(true); streamGigabit.Connect(device);
See Also