public void SendAuthRequestForUINregistration(ConnectingObjectType ConnectingObjectType_obj)
        {
            byte[] byteArray_AuthRequest = new byte[30];

            byteArray_AuthRequest[0] = BitConverter.GetBytes(-37)[0]; // -37 is a ID Code of Auth Request
            byteArray_AuthRequest[1] = BitConverter.GetBytes(-37)[1];
            byteArray_AuthRequest[2] = BitConverter.GetBytes(-37)[2];
            byteArray_AuthRequest[3] = BitConverter.GetBytes(-37)[3];

            if (ConnectingObjectType_obj == ConnectingObjectType.Client)  //Is a YakSys Client Auth Request
            {
                byteArray_AuthRequest[4] = 0;
            }
            else //Is a YakSys Server Auth Request
            {
                byteArray_AuthRequest[4] = 1;
            }

            this.NecessaryBaseChannelObject.SendData(byteArray_AuthRequest, SentDataType.ApplicationData);
        }
        public void SendCommonAuthorizationRequest(ConnectingObjectType ConnectingObjectType_obj, ConnectingChannelObjectType connectingChannelObjectType_obj, ulong ulong_UIN, ulong ulong_InterConnectedUIN, ulong ulong_ChannelUID)
        {
            byte[] byteArray_AuthRequest = new byte[30];

            byteArray_AuthRequest[0] = BitConverter.GetBytes(-37)[0]; // -37 is a ID Code of Auth Request
            byteArray_AuthRequest[1] = BitConverter.GetBytes(-37)[1];
            byteArray_AuthRequest[2] = BitConverter.GetBytes(-37)[2];
            byteArray_AuthRequest[3] = BitConverter.GetBytes(-37)[3];

            if (ConnectingObjectType_obj == ConnectingObjectType.Client)  //Is a YakSys Client Auth Request
            {
                byteArray_AuthRequest[4] = 0;
            }
            else //Is a YakSys Server Auth Request
            {
                byteArray_AuthRequest[4] = 1;
            }


            if (connectingChannelObjectType_obj == ConnectingChannelObjectType.SystemChannel)  //Is a System Channel Auth Request
            {
                byteArray_AuthRequest[5] = 0;
            }
            else //Is a Applied Channel Auth Request
            {
                byteArray_AuthRequest[5] = 1;
            }

            BitConverter.GetBytes(ulong_UIN).CopyTo(byteArray_AuthRequest, 6);

            BitConverter.GetBytes(ulong_InterConnectedUIN).CopyTo(byteArray_AuthRequest, 14);

            BitConverter.GetBytes(ulong_ChannelUID).CopyTo(byteArray_AuthRequest, 22);

            this.NecessaryBaseChannelObject.SendData(byteArray_AuthRequest, SentDataType.ApplicationData);
        }