JSRDotNETSDK Reference

# EventArgsInstrumentDiscovered.CreateNewInstrumentEvent Method

See Also

Static function to create an EventArgsInstrumentDiscovered object to notify that a new Instrument has been discovered.

Namespace: JSRDotNETSDK
Assembly: JSRDotNETSDK (in JSRDotNETSDK.dll)
Syntax

VB
C#
C++
JScript
Copy

    public static EventArgsInstrumentDiscovered CreateNewInstrumentEvent(
       IInstrumentIdentity identity,
       IPulserReceiverIdentity[] pulserReceiverIds,
       DiscoveryStateFlags stateFlags = DiscoveryStateFlags.ACTIVE
    )

    This language is not supported or no code example is available.

#### Parameters

identity

  Type: IInstrumentIdentity

  The identity of the discovered instrument.

pulserReceiverIds

  Type: IPulserReceiverIdentity[]

  Array of pulser receivers in this instrument. (may have length=0)

stateFlags

  Type: DiscoveryStateFlags

#### Return Value

The new new instrument event.
See Also

#### Reference

EventArgsInstrumentDiscovered Class
EventArgsInstrumentDiscovered Members
JSRDotNETSDK Namespace