# The C# MasterConnection Class

MasterConnection extends the Connection class for HA applications.

### For an overview see page C# Classes

### Class Definition

        public class MasterConnection : Connection
        {
            ...
            public class Parameters
            {
                ...
                public int Quorum;
            }
            ...

            public void SetQuorum(int quorum);
        }

### Methods

`SetQuorum(int quorum)` | Set the number of active replicas that is acceptable (including 0) at runtime