Twain.GetDefaultIdentity
------------------------

Queries default data source.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Twain](component_Twain.md) | [3.1](newinversion31.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "Twain.GetDefaultIdentity" { ; Selector } ) 

**MBS**( **"Twain.GetDefaultIdentity";** /\* Queries default data source. \*/  
**$Selector**) /\* Optional; Optional, which value to query. If you have no selector string, you receive the product name.e.g. "ProductFamily" \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| Selector | Optional, which value to query. If you have no selector string, you receive the product name. | "ProductFamily" | Optional |

### Result

Returns requested value or error message.

### Description

Queries default data source.  
Possible selector values: Manufacturer, ProductFamily, ProductName, SupportedGroups, ProtocolMajor, Id, VersionMajorNum, VersionMinorNum, VersionLanguage, VersionCountry or VersionInfo.  
### See also

- [Twain.SetDefaultDSIdentity](TwainSetDefaultDSIdentity.md)

### Example Databases

- [Win Only/Scanning/Twain](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Win%20Only/Scanning/Twain.shtml#4ScriptAnchor_)

This function is free to use.

Created 18th August 2014 , last changed 18th August 2014

  
[Twain.GetDSIdentity](TwainGetDSIdentity.md) - [Twain.GetDiscardBlankPages](TwainGetDiscardBlankPages.md)

[HTML Version](TwainGetDefaultIdentity.shtml)