> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SuperOffice.WebApi.Data.ForeignDevice

# <a id="SuperOffice_WebApi_Data_ForeignDevice" /> Class ForeignDevice

Namespace: [SuperOffice.WebApi.Data](SuperOffice.WebApi.Data.md)\
Assembly: SuperOffice.WebApi.dll

Carrier object for ForeignDevice.
Saves a foreign device belonging to the ForeignDevice and application name specified.

```csharp theme={null}
public class ForeignDevice : Carrier
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Carrier](SuperOffice.WebApi.Data.Carrier.md) ←
[ForeignDevice](SuperOffice.WebApi.Data.ForeignDevice.md)

#### Inherited Members

[Carrier.TableRight](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_TableRight),
[Carrier.FieldProperties](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_FieldProperties),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Examples

Get ForeignDevice 123 using the WebApi client:
<pre><code class="lang-csharp">var configuration = new WebApiConfiguration(url);
var agent = new ForeignSystemAgent(configuration);
var foreignDevice = agent.GetForeignDevice( 123 );</code></pre>

## Constructors

### <a id="SuperOffice_WebApi_Data_ForeignDevice__ctor" /> ForeignDevice()

Default constructor - defaults any enum props to 0.

```csharp theme={null}
public ForeignDevice()
```

## Properties

### <a id="SuperOffice_WebApi_Data_ForeignDevice_AssociateFullName" /> AssociateFullName

The person owning the Foreign Device

```csharp theme={null}
public virtual string AssociateFullName { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_ForeignDevice_CreatedBy" /> CreatedBy

The person that created the device.

```csharp theme={null}
public virtual string CreatedBy { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_ForeignDevice_CreatedDate" /> CreatedDate

Registered when

```csharp theme={null}
public virtual DateTime CreatedDate { get; set; }
```

#### Property Value

[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)

### <a id="SuperOffice_WebApi_Data_ForeignDevice_DeviceIdentifier" /> DeviceIdentifier

Optional unique id of device (Palm pilot device ID, etc)

```csharp theme={null}
public virtual string DeviceIdentifier { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_ForeignDevice_ForeignAppId" /> ForeignAppId

Reference to foregin application (device type)

```csharp theme={null}
public virtual int ForeignAppId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_ForeignDevice_ForeignDeviceId" /> ForeignDeviceId

Primary key

```csharp theme={null}
public virtual int ForeignDeviceId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_ForeignDevice_Name" /> Name

Name of device

```csharp theme={null}
public virtual string Name { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_ForeignDevice_UpdatedBy" /> UpdatedBy

The person that last updated this device.

```csharp theme={null}
public virtual string UpdatedBy { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_ForeignDevice_UpdatedDate" /> UpdatedDate

Last updated when

```csharp theme={null}
public virtual DateTime UpdatedDate { get; set; }
```

#### Property Value

[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)

## See Also

[ForeignSystemAgent](SuperOffice.WebApi.Agents.ForeignSystemAgent.md)


## Related topics

- [SuperOffice.WebApi.Data.ForeignSystem SaveForeignDeviceRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.ForeignSystem_SaveForeignDeviceRequest.md)
- [SuperOffice.WebApi.Data.ForeignSystem DeleteForeignDeviceRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.ForeignSystem_DeleteForeignDeviceRequest.md)
- [SuperOffice.WebApi.Data.ForeignSystem SaveDeviceByIdentifierRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.ForeignSystem_SaveDeviceByIdentifierRequest.md)
- [SuperOffice.WebApi.Agents.ForeignSystemAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ForeignSystemAgent.md)
- [SuperOffice.WebApi.Agents.IForeignSystemAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IForeignSystemAgent.md)
- [SuperOffice.WebApi.Data.ForeignAppEntity](/en/api/reference/webapi/SuperOffice.WebApi.Data.ForeignAppEntity.md)
