IsClient
--------

Checks if plugin is running on a client.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Plugin](component_Plugin.md) | [4.3](newinversion43.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "IsClient" ) ### Parameters

none

### Result

Returns 1 on client or 0 elsewhere.

### Description

Checks if plugin is running on a client.  
Returns 0 if running on a server.  
  
See also [IsRegistered](IsRegistered.md), [IsRuntime](IsRuntime.md) and [IsServer](IsServer.md).  
### Examples

Run on client:

 If \[MBS ( "IsClient" )\]  
 # runs on client  
Else  
 # runs on server or where no plugin is installed  
End If  
### See also

- [DynaPDF.Initialize](DynaPDFInitialize.md)
- [IsRegistered](IsRegistered.md)
- [Register](Register.md)

### Blog Entries

- [Properly register MBS FileMaker Plugin](https://www.mbsplugins.de/archive/2016-09-15/Properly_register_MBS_FileMake/monkeybreadsoftware_blog_filemaker)
- [MBS Filemaker Plugin, version 4.3pr1](https://www.mbsplugins.de/archive/2014-07-02/MBS_Filemaker_Plugin_version_4/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 18th August 2014 , last changed 21st October 2017

  
[Is64bit](Is64bit.md) - [IsError](IsError.md)

[HTML Version](IsClient.shtml)