void ShowAuthorizationStatus()
        {
            MemoryStream memoryStream_ReceivedData = new MemoryStream(byteArray_ReceivedData, 4, byteArray_ReceivedData.Length - 4);

            int int_AuthorizationStatus = CommonMethods.ReadIntFromStream(memoryStream_ReceivedData);

            this.NecessaryBaseChannelObject.AuthorizationComplete = true;

            CommonNetworkEvents.AuthReasults authResults_Result = CommonNetworkEvents.AuthReasults.AuthSuccess;

            if (int_AuthorizationStatus == 1)
            {
                authResults_Result = CommonNetworkEvents.AuthReasults.AuthSuccess;

                this.NecessaryBaseChannelObject.IsAuthorized = true;
            }
            if (int_AuthorizationStatus == 4)
            {
                authResults_Result = CommonNetworkEvents.AuthReasults.AccountTemporaryDisabled;

                this.NecessaryBaseChannelObject.IsAuthorized     = true;
                this.NecessaryBaseChannelObject.IsAccountEnabled = false;
            }

            if (this.NecessaryBaseChannelObject.OwnerType == ChannelOwnerType.Client)
            {
                CommonNetworkEvents.CallClientSuccessfullyAuthorizedEvent(this.NecessaryBaseChannelObject.ClientOwner, authResults_Result);
            }
            if (this.NecessaryBaseChannelObject.OwnerType == ChannelOwnerType.Server)
            {
                CommonNetworkEvents.CallServerSuccessfullyAuthorizedEvent(this.NecessaryBaseChannelObject.ServerOwner, authResults_Result);
            }
        }
        void ShowChangesOfAccountState()
        {
            try
            {
                MemoryStream memoryStream_ReceivedData = new MemoryStream(byteArray_ReceivedData, 4, byteArray_ReceivedData.Length - 4);

                int int_IsAccountEnabled = CommonMethods.ReadIntFromStream(memoryStream_ReceivedData);

                memoryStream_ReceivedData.Close();

                CommonNetworkEvents.AuthReasults authResult_obj = new CommonNetworkEvents.AuthReasults();

                switch (int_IsAccountEnabled)
                {
                case 0:
                    authResult_obj = CommonNetworkEvents.AuthReasults.AccountEnabled;
                    break;

                case 1:
                    authResult_obj = CommonNetworkEvents.AuthReasults.AccountTemporaryDisabled;
                    break;
                }

                if (NecessaryBaseChannelObject.ConnectingObjectTypeInfo == ConnectingObjectType.Client)
                {
                    CommonNetworkEvents.CallClientAccountStateChangedEventEvent(this.NecessaryBaseChannelObject.ClientOwner, authResult_obj);
                }
                else
                {
                    CommonNetworkEvents.CallServerAccountStateChangedEventEvent(this.NecessaryBaseChannelObject.ServerOwner, authResult_obj);
                }
            }
            catch
            {
            }
        }