# ICompatibilityDirector Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.versions.compatibility.icompatibilitydirector/)

## IsCompatible(ushort, ushort) {#iscompatible-ushort-ushort-0392051d}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.versions.compatibility.icompatibilitydirector/methods/iscompatible-ushort-ushort-0392051d/)

```csharp
public abstract bool IsCompatible(ushort requestedVersion, ushort currentVersion)
```

Returns `true` if the current version of an interface is compatible with the requested version, `false` otherwise.

### Parameters

- `requestedVersion` (`ushort`): The requested interface version.
- `currentVersion` (`ushort`): The currently available interface version.

### Returns

`true` if the current version of an interface is compatible with the requested version, `false` otherwise.
