Module

# XojoCloud Namespace

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

## Description

The <span class="title-ref">XojoCloud Namespace</span> contains classes and modules used by Xojo Cloud.

## Notes

You must prefix usage of these members with the <span class="title-ref">XojoCloud Namespace</span>. For example, this code opens firewall port 587:

``` xojo
Var fwp As New XojoCloud.FirewallPort(587, XojoCloud.FirewallPort.Direction.Outgoing)
fwp.Open ' This call is synchronous
If fwp.isOpen Then
  ' Do what you need to do
  fwp.Close ' Optional, but if you will not using the port, we recommend it.
End If
```

## Compatibility

|                       |     |
|-----------------------|-----|
| **Project Types**     | Web |
| **Operating Systems** | All |

<div class="seealso">

`TargetXojoCloud</api/compiler_directives/targetxojocloud>`, `FirewallPort</api/xojocloud/firewallport>`, `RemoteNotifications</api/xojocloud/xojocloud.remotenotifications>`

</div>
