Decompiled source of VTSIntegration v1.0.0
plugins/VTSIntegration/VTSIntegration.dll
Decompiled a month ago
The result has been truncated due to the large size, download it to view full contents!
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using System.Security; using System.Security.Permissions; using BepInEx; using BepInEx.Configuration; using BepInEx.Logging; using HG; using Microsoft.CodeAnalysis; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using On.RoR2.UI.LogBook; using RoR2; using RoR2.ExpansionManagement; using RoR2.UI; using RoR2.UI.LogBook; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.Events; using UnityEngine.UI; using WebSocketSharp; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")] [assembly: AssemblyCompany("VTSIntegration")] [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("VTSIntegration")] [assembly: AssemblyTitle("VTSIntegration")] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("1.0.0.0")] [module: UnverifiableCode] [module: RefSafetyRules(11)] namespace Microsoft.CodeAnalysis { [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] internal sealed class EmbeddedAttribute : Attribute { } } namespace System.Runtime.CompilerServices { [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] [AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)] internal sealed class RefSafetyRulesAttribute : Attribute { public readonly int Version; public RefSafetyRulesAttribute(int P_0) { Version = P_0; } } } namespace VTSIntegration { internal static class Log { private static ManualLogSource _logSource; internal static void Init(ManualLogSource logSource) { _logSource = logSource; } internal static void Debug(object data) { _logSource.LogDebug(data); } internal static void Error(object data) { _logSource.LogError(data); } internal static void Fatal(object data) { _logSource.LogFatal(data); } internal static void Info(object data) { _logSource.LogInfo(data); } internal static void Message(object data) { _logSource.LogMessage(data); } internal static void Warning(object data) { _logSource.LogWarning(data); } } internal class LogBookControls { [CompilerGenerated] private static class <>O { public static hook_ViewEntry <0>__LogBookController_ViewEntry; public static hook_CanSelectItemEntry <1>__LogBookController_CanSelectItemEntry; public static hook_CanSelectEquipmentEntry <2>__LogBookController_CanSelectEquipmentEntry; public static hook_GetPickupStatus <3>__LogBookController_GetPickupStatus; } public static bool detourEntry; public static ItemIndex lastEntryItem; public static EquipmentIndex lastEntryEquipment; public static void Init() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001c: Expected O, but got Unknown //IL_0032: Unknown result type (might be due to invalid IL or missing references) //IL_0037: Unknown result type (might be due to invalid IL or missing references) //IL_003d: Expected O, but got Unknown //IL_0053: Unknown result type (might be due to invalid IL or missing references) //IL_0058: Unknown result type (might be due to invalid IL or missing references) //IL_005e: Expected O, but got Unknown //IL_0074: Unknown result type (might be due to invalid IL or missing references) //IL_0079: Unknown result type (might be due to invalid IL or missing references) //IL_007f: Expected O, but got Unknown object obj = <>O.<0>__LogBookController_ViewEntry; if (obj == null) { hook_ViewEntry val = LogBookController_ViewEntry; <>O.<0>__LogBookController_ViewEntry = val; obj = (object)val; } LogBookController.ViewEntry += (hook_ViewEntry)obj; object obj2 = <>O.<1>__LogBookController_CanSelectItemEntry; if (obj2 == null) { hook_CanSelectItemEntry val2 = LogBookController_CanSelectItemEntry; <>O.<1>__LogBookController_CanSelectItemEntry = val2; obj2 = (object)val2; } LogBookController.CanSelectItemEntry += (hook_CanSelectItemEntry)obj2; object obj3 = <>O.<2>__LogBookController_CanSelectEquipmentEntry; if (obj3 == null) { hook_CanSelectEquipmentEntry val3 = LogBookController_CanSelectEquipmentEntry; <>O.<2>__LogBookController_CanSelectEquipmentEntry = val3; obj3 = (object)val3; } LogBookController.CanSelectEquipmentEntry += (hook_CanSelectEquipmentEntry)obj3; object obj4 = <>O.<3>__LogBookController_GetPickupStatus; if (obj4 == null) { hook_GetPickupStatus val4 = LogBookController_GetPickupStatus; <>O.<3>__LogBookController_GetPickupStatus = val4; obj4 = (object)val4; } LogBookController.GetPickupStatus += (hook_GetPickupStatus)obj4; } private static EntryStatus LogBookController_GetPickupStatus(orig_GetPickupStatus orig, ref Entry entry, UserProfile viewerProfile) { //IL_00ae: Unknown result type (might be due to invalid IL or missing references) //IL_00b3: Unknown result type (might be due to invalid IL or missing references) //IL_002d: Unknown result type (might be due to invalid IL or missing references) //IL_0032: Unknown result type (might be due to invalid IL or missing references) //IL_0033: Unknown result type (might be due to invalid IL or missing references) //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_0042: Unknown result type (might be due to invalid IL or missing references) //IL_004c: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0053: Unknown result type (might be due to invalid IL or missing references) //IL_005c: Unknown result type (might be due to invalid IL or missing references) //IL_005f: Invalid comparison between Unknown and I4 //IL_00b7: Unknown result type (might be due to invalid IL or missing references) //IL_006b: Unknown result type (might be due to invalid IL or missing references) //IL_006e: Invalid comparison between Unknown and I4 //IL_00a6: Unknown result type (might be due to invalid IL or missing references) object extraData = entry.extraData; if (extraData != null && extraData.GetType() == typeof(PickupIndex)) { PickupIndex val = (PickupIndex)extraData; PickupDef pickupDef = PickupCatalog.GetPickupDef(val); ItemIndex itemIndex = pickupDef.itemIndex; ItemDef itemDef = ItemCatalog.GetItemDef(itemIndex); EquipmentIndex equipmentIndex = pickupDef.equipmentIndex; EquipmentDef equipmentDef = EquipmentCatalog.GetEquipmentDef(equipmentIndex); string s = (((int)itemIndex != -1 && (Object)(object)itemDef != (Object)null) ? ((Object)itemDef).name : (((int)equipmentIndex != -1 && (Object)(object)equipmentDef != (Object)null) ? ((Object)equipmentDef).name : "null")); if (VTSConfig.forceEntries.Contains(s)) { return (EntryStatus)4; } } return orig.Invoke(ref entry, viewerProfile); } private static bool LogBookController_CanSelectItemEntry(orig_CanSelectItemEntry orig, ItemDef itemDef, Dictionary<ExpansionDef, bool> expansionAvailability) { if ((Object)(object)itemDef != (Object)null && VTSConfig.forceEntries.Contains(((Object)itemDef).name)) { return true; } return orig.Invoke(itemDef, expansionAvailability); } private static bool LogBookController_CanSelectEquipmentEntry(orig_CanSelectEquipmentEntry orig, EquipmentDef equipmentDef, Dictionary<ExpansionDef, bool> expansionAvailability) { if ((Object)(object)equipmentDef != (Object)null && VTSConfig.forceEntries.Contains(((Object)equipmentDef).name)) { return true; } return orig.Invoke(equipmentDef, expansionAvailability); } private static void LogBookController_ViewEntry(orig_ViewEntry orig, LogBookController self, Entry entry) { //IL_0033: Unknown result type (might be due to invalid IL or missing references) //IL_0038: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Unknown result type (might be due to invalid IL or missing references) //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: Unknown result type (might be due to invalid IL or missing references) //IL_004f: Unknown result type (might be due to invalid IL or missing references) //IL_0054: Unknown result type (might be due to invalid IL or missing references) if (detourEntry) { object extraData = entry.extraData; if (extraData != null && extraData.GetType() == typeof(PickupIndex)) { PickupIndex val = (PickupIndex)extraData; PickupDef pickupDef = PickupCatalog.GetPickupDef(val); lastEntryItem = pickupDef.itemIndex; lastEntryEquipment = pickupDef.equipmentIndex; } } else { orig.Invoke(self, entry); } } public static void GetIndiciesFromButton(HGButton button) { detourEntry = true; ((UnityEvent)((Button)button).onClick).Invoke(); detourEntry = false; } public static void HandleLogbookInteractions() { //IL_0039: Unknown result type (might be due to invalid IL or missing references) //IL_00b1: Unknown result type (might be due to invalid IL or missing references) //IL_00b6: Unknown result type (might be due to invalid IL or missing references) //IL_00b8: Unknown result type (might be due to invalid IL or missing references) //IL_00bd: Unknown result type (might be due to invalid IL or missing references) //IL_00bf: Unknown result type (might be due to invalid IL or missing references) //IL_00c8: Unknown result type (might be due to invalid IL or missing references) //IL_0177: Unknown result type (might be due to invalid IL or missing references) //IL_0120: Unknown result type (might be due to invalid IL or missing references) //IL_0125: Unknown result type (might be due to invalid IL or missing references) //IL_01f8: Unknown result type (might be due to invalid IL or missing references) //IL_019e: Unknown result type (might be due to invalid IL or missing references) //IL_01ab: Unknown result type (might be due to invalid IL or missing references) //IL_0185: Unknown result type (might be due to invalid IL or missing references) //IL_0192: Unknown result type (might be due to invalid IL or missing references) //IL_0142: Unknown result type (might be due to invalid IL or missing references) //IL_014a: Unknown result type (might be due to invalid IL or missing references) //IL_0150: Invalid comparison between Unknown and I4 //IL_0130: Unknown result type (might be due to invalid IL or missing references) //IL_0139: Unknown result type (might be due to invalid IL or missing references) //IL_0166: Unknown result type (might be due to invalid IL or missing references) //IL_0168: Unknown result type (might be due to invalid IL or missing references) //IL_015b: Unknown result type (might be due to invalid IL or missing references) //IL_03a4: Unknown result type (might be due to invalid IL or missing references) bool keyDown = Input.GetKeyDown((KeyCode)283); bool keyDown2 = Input.GetKeyDown((KeyCode)284); bool keyDown3 = Input.GetKeyDown((KeyCode)285); bool key = Input.GetKey((KeyCode)306); bool key2 = Input.GetKey((KeyCode)304); float y = Input.mouseScrollDelta.y; if ((!(keyDown || keyDown2 || keyDown3) && y == 0f) || !EventSystem.current.IsPointerOverGameObject()) { return; } GameObject currentSelectedGameObject = EventSystem.current.currentSelectedGameObject; HGButton component = currentSelectedGameObject.GetComponent<HGButton>(); if (!((Object)(object)component != (Object)null) || !((Object)component).name.StartsWith("ItemEntryIcon")) { return; } GetIndiciesFromButton(component); ItemIndex val = lastEntryItem; EquipmentIndex val2 = lastEntryEquipment; ItemDef itemDef = ItemCatalog.GetItemDef(val); EquipmentDef equipmentDef = EquipmentCatalog.GetEquipmentDef(val2); bool flag = (Object)(object)equipmentDef != (Object)null; string text = (flag ? ((Object)equipmentDef).name : ((Object)itemDef).name); VTSConfig.ItemConfig itemConfig = VTSConfig.itemConfig[text]; if (keyDown) { VTSConfig.blockedItems.Remove(text); if (flag) { if (VTSIntegration.lastEquipment == val2) { VTSIntegration.OnEquipmentRemoved(val2); VTSIntegration.lastEquipment = (EquipmentIndex)(-1); return; } VTSIntegration.OnEquipmentPickup(val2); if ((int)VTSIntegration.lastEquipment != -1) { VTSIntegration.OnEquipmentRemoved(VTSIntegration.lastEquipment); } VTSIntegration.lastEquipment = val2; } else if (VTSIntegration.lastInventory.Contains(val)) { VTSIntegration.OnItemRemoved(val); VTSIntegration.lastInventory.Remove(val); } else { VTSIntegration.OnItemPickup(val); VTSIntegration.lastInventory.Add(val); } } else if (keyDown2) { VTSConfig.backgroundItems.Set(text, !VTSConfig.backgroundItems.Contains(text)); if (VTSApi.OrderAvailable(text)) { VTSApi.MoveItem(text, new Vector2(-1000f, -1000f), itemConfig.rotation.Value, itemConfig.size.Value, VTSApi.ClaimOrder(text)); } } else if (keyDown3) { if (key) { itemConfig.imageOverride.Value = "null"; VTSApi.cachedItems.Remove(text); if (VTSApi.loadedItems.ContainsKey(text)) { VTSApi.UnloadItem(text); VTSApi.LoadItem(text, flag ? equipmentDef.pickupIconSprite.texture : itemDef.pickupIconSprite.texture); } VTSApi.itemToReplace = string.Empty; } else if (VTSApi.itemToReplace.Equals(text)) { VTSApi.itemToReplace = string.Empty; } else { VTSApi.itemToReplace = text; } } else if (VTSApi.loadedItems.ContainsKey(text)) { int num = ((!key2) ? 1 : 5); if (key) { ConfigEntry<int> rotation = itemConfig.rotation; rotation.Value += ((!(y < 0f)) ? 1 : (-1)) * num; ConfigEntry<int> rotation2 = itemConfig.rotation; rotation2.Value %= 360; } else { float value = itemConfig.size.Value; value += ((y < 0f) ? (-0.01f) : 0.01f) * (float)num; value = Mathf.Max(0f, value); value = Mathf.Min(1f, value); itemConfig.size.Value = value; } VTSApi.MoveItem(text, new Vector2(-1000f, -1000f), itemConfig.rotation.Value, itemConfig.size.Value); } } } internal class VTSApi { public const string vtsPluginID = "RoR2-VTSIntegration"; public const string vtsPluginAuthor = "doomy64"; public const string vtsPluginIcon = "iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAA2/3pUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjarZxpsuw4cmb/cxVaAjESWA4IgGa9g15+n4N4mapSSd2SWderN+S9cSNIwP0b3B289v/+X9/1b//2byGmdF+5PK32Wm/+l3vucfCPdv/+18+f4c7nz/O/v77Ff//T16+/vxH5UuLv9PvPZ/x5/eDr5V/fKLz//PWr/flObH/e6M83/nrD5CdH/rH+8SL5evx9PeQ/b9T37x+1t+cfL/WNv7/nnxeeS/nze+7z1nf482H+9/WPX8gPq7QKr0ox7sSXz5/tdwXJ3zkNv86fd2q8LvC1kVKK1/nSX1fCgvzT7f31933/4wL90yL/9a/rP67+3//6D4sfx5+vp/+wlvXPGvGP//Qbofzni3+W+B8+OP19RfGfv/GluP/ldv78/r7Vvm//7m7kyorWPxF1X3+tznmTb70seTo/Vvn18Lvw7+f86vxq97gnW77ueb/8mqGHyOp/V8hhhRG+sM/fM0wuMccdH/6OccZ0vtbSE3ucyX3K/gpffFJPKzX2bcZ9sXU5xb+vJZzP7efzZmh88gq8NAbezK3+L39d/7dv/k9+Xd83XaJwt7/XiuuKRi6X4c75J69iQ8L3Z9/KWeC/fv3Z/vsf4odQZQfLWebGDY77/b3FW8K/x1Y6+5x4XeHvXwqF61l/3oAl4rMLFxMSO3DXkEqo4X5ifEJgHRsbNLhy8iS+7EAoJS4uMuaUaryeSMrw2fzME85rY4k1+mWwiY0oqaaHvelpsFk5F+LnyY0YGiWVXEqp5SntKr2Mmmqupdb6VEFuPOnJT3nq8zzt6c9oqeVWWm1Pa6230WNPYGDptT+99d7HiNfggwbvNXj94CtvfNOb3/LW93nb298xCZ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qPG3XeeYP++JZaX5mm121y/vsa7l67y1v/f1vnzNg3EYfg5n93EBdqCojYltEXqAKoiqIQQGRkZYGXg4zGwIzGwIYYI8WegYkBQUIeqVWkqI9LkHNvn+zGcnQTRj3D/7373vs/79Qf9958xqSHSisIpn2gm8s8SESnZWFvBVlwA5xzGarT2NYM4vgzNRUbDAc3JhNjmU7e4czPVkCjIs5zCFpU933MZVlvLRDrk28EB7bWWN5RWwO862DO3DlGO27e2iRdj8sz/+h4NTrin7vqL6kzJMye6qX3lKpiZNeYj1aQKi6r4QFprSmt50O2wdbNDeGm5Gnx1sZJBZvq2bq/Hm4/7RFHJZqvBH2uYEKODgO8/j1mI3vHs6ROev3jJq9dvefzoIXGzQf/DF6wtK66QTFHqMgeBFlG+gKMu8PjNvYVPTwbk5SGB9pwEv5D3ECfoMODayhLNhZClKzHdnW169++QJGekxtD/tP/f9i8IkYLr621SMyEIFGe/z7HOwyCVCqdnttJtiixlOBrT0L4NtaW7ntxZXn2MxUKSJKyvXkVEODz6hdKajRsdnztU1z+UqlxDAeejIVubu9MuGI9TsizHFpaRMfwFN5+g7KqPj1gAAAAASUVORK5CYII="; public const int API_ERROR_AUTH_FAILED = 50; public const int API_ERROR_ITEM_ORDER_TAKEN = 756; public const int ITEM_ORDER_MIN = -30; private static Dictionary<string, object> baseInfo = new Dictionary<string, object> { { "apiName", "VTubeStudioPublicAPI" }, { "apiVersion", "1.0" }, { "requestID", "RoR2-VTSIntegration" } }; public static Dictionary<string, string> loadedItems = new Dictionary<string, string>(); public static Dictionary<string, string> cachedItems = new Dictionary<string, string>(); public static string lastItemLocked = string.Empty; public static string itemToReplace = string.Empty; public static Dictionary<string, Action<Dictionary<string, object>, string>> responseHandlers = new Dictionary<string, Action<Dictionary<string, object>, string>>(); public static bool connected = false; public static float lastModelSize = 0f; public static List<int> availableOrdersFront = new List<int>(); public static List<int> availableOrdersBack = new List<int>(); public static List<string> itemsWaitingForSpace = new List<string>(); public static List<string> itemsWaitingToAdd = new List<string>(); public static List<string> itemsBeingMoved = new List<string>(); public static List<string> ignoredResponses; private static WebSocket socket; public static void Init() { //IL_0010: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Expected O, but got Unknown socket = new WebSocket(VTSConfig.address.Value, Array.Empty<string>()); Connect(); } private static void Connect() { responseHandlers.Add("AuthenticationTokenResponse", Handler_AuthTokenResponse); responseHandlers.Add("AuthenticationResponse", Handler_AuthResponse); responseHandlers.Add("APIStateResponse", Handler_APIStateResponse); responseHandlers.Add("PermissionResponse", Handler_PermissionResponse); responseHandlers.Add("ItemEvent", Handler_ItemEvent); responseHandlers.Add("ItemLoadResponse", Handler_ItemLoadResponse); responseHandlers.Add("ItemListResponse", Handler_ItemListResponse); responseHandlers.Add("ItemMoveResponse", Handler_ItemMoveResponse); responseHandlers.Add("ItemPinResponse", Handler_ItemPinResponse); responseHandlers.Add("ModelClickedEvent", Handler_ModelClickedEvent); responseHandlers.Add("APIError", Handler_APIError); ignoredResponses = new List<string> { "ItemUnloadResponse", "EventSubscriptionResponse" }; socket.Connect(); socket.OnMessage += delegate(object sender, MessageEventArgs e) { HandleResponse(e.Data); }; SendRequest("APIStateRequest"); } public static void OnApiConnected() { connected = true; if (VTSConfig.authToken.Value == "null") { GenerateAuthToken(); } else { Authenticate(); } } public static void OnAuthenticated() { SendRequest("PermissionRequest", new Dictionary<string, object> { { "requestedPermission", "LoadCustomImagesAsItems" } }); SendRequest("EventSubscriptionRequest", new Dictionary<string, object> { { "eventName", "ModelClickedEvent" }, { "subscribe", true }, { "config", new Dictionary<string, object> { { "onlyClicksOnModel", true } } } }); SendRequest("EventSubscriptionRequest", new Dictionary<string, object> { { "eventName", "ItemEvent" }, { "subscribe", true }, { "config", new Dictionary<string, object>() } }); SendRequest("ItemListRequest", new Dictionary<string, object> { { "includeAvailableSpots", true }, { "includeAvailableItemFiles", false }, { "includeItemInstancesInScene", false } }); } public static void SendRequest(string messageType, string requestID = null) { Dictionary<string, object> content = new Dictionary<string, object> { { "messageType", messageType } }; SendRequest(content, requestID); } public static void SendRequest(string messageType, Dictionary<string, object> data, string requestID = null) { Dictionary<string, object> content = new Dictionary<string, object> { { "messageType", messageType }, { "data", data } }; SendRequest(content, requestID); } public static void SendRequest(Dictionary<string, object> content, string requestID = null) { Dictionary<string, object>[] dictionaries = new Dictionary<string, object>[2] { baseInfo, content }; Dictionary<string, object> dictionary = VTSUtil.Merge(dictionaries); if (requestID != null) { dictionary.Remove("requestID"); dictionary.Add("requestID", requestID); } string text = JsonConvert.SerializeObject((object)dictionary); socket.SendAsync(text, (Action<bool>)null); } public static void HandleResponse(string body) { Dictionary<string, object> dictionary = JsonConvert.DeserializeObject<Dictionary<string, object>>(body); string text = dictionary["messageType"].ToString(); Dictionary<string, object> arg = JsonConvert.DeserializeObject<Dictionary<string, object>>(dictionary["data"].ToString()); if (responseHandlers.ContainsKey(text)) { responseHandlers[text](arg, dictionary["requestID"].ToString()); } else if (!ignoredResponses.Contains(text)) { Log.Warning("Received unhandled response type: " + text); } } private static void Handler_PermissionResponse(Dictionary<string, object> data, string requestID) { } public static void Handler_APIStateResponse(Dictionary<string, object> data, string requestID) { if (data["active"].Equals(false)) { Log.Error("VTS Responded, but API is not active. Check your settings and restart your game"); } else { OnApiConnected(); } } public static void Handler_AuthTokenResponse(Dictionary<string, object> data, string requestID) { VTSConfig.authToken.Value = data["authenticationToken"].ToString(); Authenticate(); } public static void Handler_AuthResponse(Dictionary<string, object> data, string requestID) { if (data["authenticated"].Equals(false)) { Log.Warning("Authentication token is invalid, regenerating"); GenerateAuthToken(); } else { OnAuthenticated(); } } public static void Handler_ItemLoadResponse(Dictionary<string, object> data, string requestID) { string text = requestID; text = text.Substring(text.IndexOf("|") + 1); string instanceID = data["instanceID"].ToString(); string value = data["fileName"].ToString(); if (!cachedItems.ContainsKey(text)) { cachedItems.Add(text, value); } LinkItem(text, instanceID); } public static void Handler_ItemEvent(Dictionary<string, object> data, string requestID) { //IL_00d4: Unknown result type (might be due to invalid IL or missing references) string text = data["itemEventType"].ToString(); string text2 = data["itemInstanceID"].ToString(); if (itemsBeingMoved.Contains(text2)) { return; } if (loadedItems.ContainsKey(text2)) { string text3 = loadedItems[text2]; if (text.Equals("DroppedUnpinned") || text.Equals("DroppedPinned") || text.Equals("Clicked")) { Dictionary<string, float> dictionary = JsonConvert.DeserializeObject<Dictionary<string, float>>(data["itemPosition"].ToString()); Vector2 value = default(Vector2); ((Vector2)(ref value))..ctor(dictionary["x"], dictionary["y"]); VTSConfig.itemConfig[text3].position.Value = value; if (text.Equals("DroppedUnpinned")) { VTSConfig.itemConfig[text3].SetPinData(VTSConfig.PinData.Null()); } SendRequest("ItemListRequest", new Dictionary<string, object> { { "includeAvailableSpots", true }, { "includeAvailableItemFiles", false }, { "includeItemInstancesInScene", true }, { "onlyItemsWithInstanceID", text2 } }); } else if (text.Equals("Removed")) { loadedItems.Remove(text3); loadedItems.Remove(text2); VTSConfig.blockedItems.Add(text3); } else if (text.Equals("Locked")) { lastItemLocked = text2; } else if (text.Equals("Unlocked") && text2.Equals(lastItemLocked)) { lastItemLocked = string.Empty; } } if (text.Equals("Added") && !itemToReplace.Equals(string.Empty)) { VTSConfig.itemConfig[itemToReplace].imageOverride.Value = data["itemFileName"].ToString(); if (loadedItems.ContainsKey(itemToReplace)) { UnloadItem(itemToReplace); LoadItem(itemToReplace); } itemToReplace = string.Empty; SendRequest("ItemUnloadRequest", new Dictionary<string, object> { { "unloadAllInScene", false }, { "unloadAllLoadedByThisPlugin", false }, { "allowUnloadingItemsLoadedByUserOrOtherPlugins", true }, { "instanceIDs", new List<string> { text2 } } }); } SendRequest("ItemListRequest", new Dictionary<string, object> { { "includeAvailableSpots", true }, { "includeAvailableItemFiles", false }, { "includeItemInstancesInScene", false }, { "onlyItemsWithInstanceID", text2 } }); } public static void Handler_ItemListResponse(Dictionary<string, object> data, string requestID) { //IL_0046: Unknown result type (might be due to invalid IL or missing references) if (data["availableSpots"].GetType() == typeof(JArray)) { availableOrdersFront.Clear(); availableOrdersBack.Clear(); List<int> list = ((JToken)(JArray)data["availableSpots"]).ToObject<List<int>>(); list.ForEach(delegate(int n) { if (n > 0) { availableOrdersFront.Add(n); } else { availableOrdersBack.Add(n); } }); } List<Dictionary<string, object>> list2 = JsonConvert.DeserializeObject<List<Dictionary<string, object>>>(data["itemInstancesInScene"].ToString()); foreach (Dictionary<string, object> item in list2) { string s = loadedItems[item["instanceID"].ToString()]; VTSConfig.flippedItems.Set(s, item["flipped"].Equals(true)); } CheckForItemSpace(); } private static void Handler_ItemPinResponse(Dictionary<string, object> data, string requestID) { //IL_0088: Unknown result type (might be due to invalid IL or missing references) if (!requestID.Equals(baseInfo["requestID"])) { List<string> list = new List<string>(); list.AddRange(requestID.Split("|")); string name = list[0]; Vector2 position = default(Vector2); ((Vector2)(ref position))..ctor(float.Parse(list[1]), float.Parse(list[2])); int rotation = int.Parse(list[3]); float size = float.Parse(list[4]); int order = int.Parse(list[5]); MoveItem(name, position, rotation, size, order, unpinIfPinned: false); } } private static void Handler_ItemMoveResponse(Dictionary<string, object> data, string requestID) { List<Dictionary<string, object>> list = JsonConvert.DeserializeObject<List<Dictionary<string, object>>>(data["movedItems"].ToString()); foreach (Dictionary<string, object> item in list) { string text = item["itemInstanceID"].ToString(); if (loadedItems.ContainsKey(text)) { string key = loadedItems[text]; VTSConfig.PinData pinData = VTSConfig.itemConfig[key].GetPinData(); if (pinData.model != "null") { SendRequest("ItemPinRequest", new Dictionary<string, object> { { "pin", true }, { "itemInstanceID", text }, { "angleRelativeTo", "RelativeToModel" }, { "sizeRelativeTo", "RelativeToCurrentItemSize" }, { "vertexPinType", "Provided" }, { "pinInfo", new Dictionary<string, object> { { "modelID", pinData.model }, { "artMeshID", pinData.mesh }, { "angle", VTSConfig.itemConfig[key].rotation.Value }, { "size", 0f }, { "vertexID1", pinData.vertexIDs[0] }, { "vertexID2", pinData.vertexIDs[1] }, { "vertexID3", pinData.vertexIDs[2] }, { "vertexWeight1", pinData.vertexWeights[0] }, { "vertexWeight2", pinData.vertexWeights[1] }, { "vertexWeight3", pinData.vertexWeights[2] } } } }); } itemsBeingMoved.Remove(text); } } } public static void Handler_ModelClickedEvent(Dictionary<string, object> data, string requestID) { if (lastItemLocked == string.Empty) { return; } if (!loadedItems.ContainsKey(lastItemLocked)) { lastItemLocked = string.Empty; return; } string key = loadedItems[lastItemLocked]; int num = int.Parse(data["clickedArtMeshCount"].ToString()); if (num <= 0) { return; } List<Dictionary<string, object>> list = JsonConvert.DeserializeObject<List<Dictionary<string, object>>>(data["artMeshHits"].ToString()); foreach (Dictionary<string, object> item in list) { Dictionary<string, object> dictionary = JsonConvert.DeserializeObject<Dictionary<string, object>>(item["hitInfo"].ToString()); if (int.Parse(item["artMeshOrder"].ToString()) == 0) { VTSConfig.PinData pinData = default(VTSConfig.PinData); List<int> vertexIDs = new List<int> { int.Parse(dictionary["vertexID1"].ToString()), int.Parse(dictionary["vertexID2"].ToString()), int.Parse(dictionary["vertexID3"].ToString()) }; List<float> vertexWeights = new List<float> { float.Parse(dictionary["vertexWeight1"].ToString()), float.Parse(dictionary["vertexWeight2"].ToString()), float.Parse(dictionary["vertexWeight3"].ToString()) }; pinData.model = dictionary["modelID"].ToString(); pinData.mesh = dictionary["artMeshID"].ToString(); pinData.vertexIDs = vertexIDs; pinData.vertexWeights = vertexWeights; VTSConfig.itemConfig[key].SetPinData(pinData); SendRequest("ItemPinRequest", new Dictionary<string, object> { { "pin", true }, { "itemInstanceID", lastItemLocked }, { "angleRelativeTo", "RelativeToModel" }, { "sizeRelativeTo", "RelativeToCurrentItemSize" }, { "vertexPinType", "Provided" }, { "pinInfo", new Dictionary<string, object> { { "modelID", pinData.model }, { "artMeshID", pinData.mesh }, { "angle", VTSConfig.itemConfig[key].rotation.Value }, { "size", 0f }, { "vertexID1", pinData.vertexIDs[0] }, { "vertexID2", pinData.vertexIDs[1] }, { "vertexID3", pinData.vertexIDs[2] }, { "vertexWeight1", pinData.vertexWeights[0] }, { "vertexWeight2", pinData.vertexWeights[1] }, { "vertexWeight3", pinData.vertexWeights[2] } } } }); lastItemLocked = string.Empty; break; } } } public static void Handler_APIError(Dictionary<string, object> data, string requestID) { switch (int.Parse(data["errorID"].ToString())) { case 50: Log.Error("Authentication was denied in VTS"); break; case 756: { string text = requestID; text = text.Substring(text.IndexOf("|") + 1); itemsWaitingForSpace.Add(text); SendRequest("ItemListRequest", new Dictionary<string, object> { { "includeAvailableSpots", true }, { "includeAvailableItemFiles", false }, { "includeItemInstancesInScene", false } }); break; } default: Log.Error("VTS returned API error: " + data["message"].ToString()); break; } } public static void LoadItem(string name, Texture2D icon = null) { //IL_0161: Unknown result type (might be due to invalid IL or missing references) //IL_0183: Unknown result type (might be due to invalid IL or missing references) if (loadedItems.ContainsKey(name)) { Log.Error($"Attempted to load item {name} while it was already loaded"); return; } Log.Debug("Loading item: " + name); string value = ""; VTSConfig.ItemConfig itemConfig = VTSConfig.itemConfig[name]; string value2 = itemConfig.imageOverride.Value; int num = ClaimOrder(name); if (num < -30) { itemsWaitingForSpace.Add(name); return; } string text; if (value2 != "null") { text = value2; } else if (cachedItems.ContainsKey(name)) { text = cachedItems[name]; } else { if ((Object)(object)icon == (Object)null) { Log.Error($"Attempted to load item {name} without specifying an image"); return; } value = Convert.ToBase64String(ImageConversion.EncodeToPNG(VTSUtil.DeCompress(icon))); text = name + ".png"; if (text.Length < 8) { text = text.PadLeft(8, '0'); } if (text.Length > 32) { text = text.Substring(text.Length - 32); } } SendRequest("ItemLoadRequest", new Dictionary<string, object> { { "fileName", text }, { "positionX", itemConfig.position.Value.x }, { "positionY", itemConfig.position.Value.y }, { "size", itemConfig.size.Value }, { "rotation", itemConfig.rotation.Value }, { "fadeTime", 0.0 }, { "order", num }, { "failIfOrderTaken", true }, { "smoothing", 0 }, { "censored", false }, { "flipped", VTSConfig.flippedItems.Contains(name) }, { "locked", false }, { "unloadWhenPluginDisconnects", true }, { "customDataBase64", value }, { "customDataAskUserFirst", false }, { "customDataSkipAskingUserIfWhitelisted", false }, { "customDataAskTimer", -1 } }, "ItemLoad|" + name); } public static void UnloadItem(string name) { if (loadedItems.ContainsKey(name)) { string text = loadedItems[name]; loadedItems.Remove(name); loadedItems.Remove(text); SendRequest("ItemUnloadRequest", new Dictionary<string, object> { { "unloadAllInScene", false }, { "unloadAllLoadedByThisPlugin", false }, { "allowUnloadingItemsLoadedByUserOrOtherPlugins", false }, { "instanceIDs", new List<string> { text } } }, "ItemUnload|" + name); } } public static void Authenticate() { SendRequest("AuthenticationRequest", new Dictionary<string, object> { { "pluginName", "RoR2-VTSIntegration" }, { "pluginDeveloper", "doomy64" }, { "authenticationToken", VTSConfig.authToken.Value } }); } public static void MoveItem(string name, Vector2 position, int rotation = -1000, float size = -1000f, int order = -1000, bool unpinIfPinned = true) { //IL_0133: Unknown result type (might be due to invalid IL or missing references) //IL_014a: Unknown result type (might be due to invalid IL or missing references) //IL_009a: Unknown result type (might be due to invalid IL or missing references) //IL_00a8: Unknown result type (might be due to invalid IL or missing references) if (loadedItems.ContainsKey(name)) { string text = loadedItems[name]; itemsBeingMoved.Add(text); if (unpinIfPinned && !VTSConfig.itemConfig[name].GetPinData().model.Equals("null")) { SendRequest("ItemPinRequest", new Dictionary<string, object> { { "pin", false }, { "itemInstanceID", text } }, $"{name}|{position.x}|{position.y}|{rotation}|{size}|{order}"); } else { SendRequest("ItemMoveRequest", new Dictionary<string, object> { { "itemsToMove", new List<Dictionary<string, object>> { new Dictionary<string, object> { { "itemInstanceID", text }, { "timeInSeconds", 0 }, { "fadeMode", "zip" }, { "positionX", position.x }, { "positionY", position.y }, { "order", order }, { "size", size }, { "rotation", rotation }, { "setFlip", false }, { "flip", false }, { "userCanStop", false } } } } }); } } } public static void GenerateAuthToken() { SendRequest("AuthenticationTokenRequest", new Dictionary<string, object> { { "pluginName", "RoR2-VTSIntegration" }, { "pluginDeveloper", "doomy64" }, { "pluginIcon", "iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAA2/3pUWHRSYXc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lum3AuYXa+ajkDCB0I9xROzY2A/8ZF+LIobG684SouwDolVHWvjCok621NRJQG+yZDcul3fh81Hvyt92ovSzsv4q2O+YBGteIPCmyO7ObtgG6iwcuIpgpuAALI//AfaFnsMZSULJ9fCL3e4t1gp/RFKxhR+LMMmFAFY6ZDMoQ
plugins/VTSIntegration/websocket-sharp.dll
Decompiled a month ago
The result has been truncated due to the large size, download it to view full contents!
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel; using System.Diagnostics; using System.Globalization; using System.IO; using System.IO.Compression; using System.Linq; using System.Net; using System.Net.Security; using System.Net.Sockets; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Serialization; using System.Security.Authentication; using System.Security.Cryptography; using System.Security.Cryptography.X509Certificates; using System.Security.Permissions; using System.Security.Principal; using System.Text; using System.Threading; using System.Timers; using WebSocketSharp.Net; using WebSocketSharp.Net.WebSockets; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: AssemblyTitle("websocket-sharp")] [assembly: AssemblyDescription("A C# implementation of the WebSocket protocol client and server")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("websocket-sharp.dll")] [assembly: AssemblyCopyright("sta.blockhead")] [assembly: AssemblyTrademark("")] [assembly: AssemblyVersion("1.0.2.37962")] namespace WebSocketSharp { public static class Ext { private static readonly byte[] _last = new byte[1]; private static readonly int _maxRetry = 5; private const string _tspecials = "()<>@,;:\\\"/[]?={} \t"; private static byte[] compress(this byte[] data) { if (data.LongLength == 0) { return data; } using MemoryStream stream = new MemoryStream(data); return stream.compressToArray(); } private static MemoryStream compress(this Stream stream) { MemoryStream memoryStream = new MemoryStream(); if (stream.Length == 0) { return memoryStream; } stream.Position = 0L; CompressionMode mode = CompressionMode.Compress; using DeflateStream deflateStream = new DeflateStream(memoryStream, mode, leaveOpen: true); CopyTo(stream, deflateStream, 1024); deflateStream.Close(); memoryStream.Write(_last, 0, 1); memoryStream.Position = 0L; return memoryStream; } private static byte[] compressToArray(this Stream stream) { using MemoryStream memoryStream = stream.compress(); memoryStream.Close(); return memoryStream.ToArray(); } private static byte[] decompress(this byte[] data) { if (data.LongLength == 0) { return data; } using MemoryStream stream = new MemoryStream(data); return stream.decompressToArray(); } private static MemoryStream decompress(this Stream stream) { MemoryStream memoryStream = new MemoryStream(); if (stream.Length == 0) { return memoryStream; } stream.Position = 0L; CompressionMode mode = CompressionMode.Decompress; using DeflateStream sourceStream = new DeflateStream(stream, mode, leaveOpen: true); CopyTo(sourceStream, memoryStream, 1024); memoryStream.Position = 0L; return memoryStream; } private static byte[] decompressToArray(this Stream stream) { using MemoryStream memoryStream = stream.decompress(); memoryStream.Close(); return memoryStream.ToArray(); } private static bool isPredefinedScheme(this string value) { switch (value[0]) { case 'h': return value == "http" || value == "https"; case 'w': return value == "ws" || value == "wss"; case 'f': return value == "file" || value == "ftp"; case 'g': return value == "gopher"; case 'm': return value == "mailto"; case 'n': { char c = value[1]; return (c != 'e') ? (value == "nntp") : (value == "news" || value == "net.pipe" || value == "net.tcp"); } default: return false; } } internal static byte[] Append(this ushort code, string reason) { byte[] array = code.ToByteArray(ByteOrder.Big); if (reason == null || reason.Length == 0) { return array; } List<byte> list = new List<byte>(array); byte[] bytes = Encoding.UTF8.GetBytes(reason); list.AddRange(bytes); return list.ToArray(); } internal static byte[] Compress(this byte[] data, CompressionMethod method) { return (method == CompressionMethod.Deflate) ? data.compress() : data; } internal static Stream Compress(this Stream stream, CompressionMethod method) { return (method == CompressionMethod.Deflate) ? stream.compress() : stream; } internal static bool Contains(this string value, params char[] anyOf) { return anyOf != null && anyOf.Length != 0 && value.IndexOfAny(anyOf) > -1; } internal static bool Contains(this NameValueCollection collection, string name) { return collection[name] != null; } internal static bool Contains(this NameValueCollection collection, string name, string value, StringComparison comparisonTypeForValue) { string text = collection[name]; if (text == null) { return false; } string[] array = text.Split(new char[1] { ',' }); foreach (string text2 in array) { if (text2.Trim().Equals(value, comparisonTypeForValue)) { return true; } } return false; } internal static bool Contains<T>(this IEnumerable<T> source, Func<T, bool> condition) { foreach (T item in source) { if (condition(item)) { return true; } } return false; } internal static bool ContainsTwice(this string[] values) { int len = values.Length; int end = len - 1; Func<int, bool> seek = null; seek = delegate(int idx) { if (idx == end) { return false; } string text = values[idx]; for (int i = idx + 1; i < len; i++) { if (values[i] == text) { return true; } } return seek(++idx); }; return seek(0); } internal static T[] Copy<T>(this T[] sourceArray, int length) { T[] array = new T[length]; Array.Copy(sourceArray, 0, array, 0, length); return array; } internal static T[] Copy<T>(this T[] sourceArray, long length) { T[] array = new T[length]; Array.Copy(sourceArray, 0L, array, 0L, length); return array; } internal static void CopyTo(this Stream sourceStream, Stream destinationStream, int bufferLength) { byte[] buffer = new byte[bufferLength]; while (true) { int num = sourceStream.Read(buffer, 0, bufferLength); if (num <= 0) { break; } destinationStream.Write(buffer, 0, num); } } internal static void CopyToAsync(this Stream sourceStream, Stream destinationStream, int bufferLength, Action completed, Action<Exception> error) { byte[] buff = new byte[bufferLength]; AsyncCallback callback = null; callback = delegate(IAsyncResult ar) { try { int num = sourceStream.EndRead(ar); if (num <= 0) { if (completed != null) { completed(); } } else { destinationStream.Write(buff, 0, num); sourceStream.BeginRead(buff, 0, bufferLength, callback, null); } } catch (Exception obj2) { if (error != null) { error(obj2); } } }; try { sourceStream.BeginRead(buff, 0, bufferLength, callback, null); } catch (Exception obj) { if (error != null) { error(obj); } } } internal static byte[] Decompress(this byte[] data, CompressionMethod method) { return (method == CompressionMethod.Deflate) ? data.decompress() : data; } internal static Stream Decompress(this Stream stream, CompressionMethod method) { return (method == CompressionMethod.Deflate) ? stream.decompress() : stream; } internal static byte[] DecompressToArray(this Stream stream, CompressionMethod method) { return (method == CompressionMethod.Deflate) ? stream.decompressToArray() : stream.ToByteArray(); } internal static void Emit(this EventHandler eventHandler, object sender, EventArgs e) { eventHandler?.Invoke(sender, e); } internal static void Emit<TEventArgs>(this EventHandler<TEventArgs> eventHandler, object sender, TEventArgs e) where TEventArgs : EventArgs { eventHandler?.Invoke(sender, e); } internal static string GetAbsolutePath(this Uri uri) { if (uri.IsAbsoluteUri) { return uri.AbsolutePath; } string originalString = uri.OriginalString; if (originalString[0] != '/') { return null; } int num = originalString.IndexOfAny(new char[2] { '?', '#' }); return (num > 0) ? originalString.Substring(0, num) : originalString; } internal static WebSocketSharp.Net.CookieCollection GetCookies(this NameValueCollection headers, bool response) { string name = (response ? "Set-Cookie" : "Cookie"); string text = headers[name]; return (text != null) ? WebSocketSharp.Net.CookieCollection.Parse(text, response) : new WebSocketSharp.Net.CookieCollection(); } internal static string GetDnsSafeHost(this Uri uri, bool bracketIPv6) { return (bracketIPv6 && uri.HostNameType == UriHostNameType.IPv6) ? uri.Host : uri.DnsSafeHost; } internal static string GetErrorMessage(this ushort code) { return code switch { 1002 => "A protocol error has occurred.", 1003 => "Unsupported data has been received.", 1006 => "An abnormal error has occurred.", 1007 => "Invalid data has been received.", 1008 => "A policy violation has occurred.", 1009 => "A too big message has been received.", 1010 => "The client did not receive expected extension(s).", 1011 => "The server got an internal error.", 1015 => "An error has occurred during a TLS handshake.", _ => string.Empty, }; } internal static string GetErrorMessage(this CloseStatusCode code) { return ((ushort)code).GetErrorMessage(); } internal static string GetName(this string nameAndValue, char separator) { int num = nameAndValue.IndexOf(separator); return (num > 0) ? nameAndValue.Substring(0, num).Trim() : null; } internal static string GetUTF8DecodedString(this byte[] bytes) { try { return Encoding.UTF8.GetString(bytes); } catch { return null; } } internal static byte[] GetUTF8EncodedBytes(this string s) { try { return Encoding.UTF8.GetBytes(s); } catch { return null; } } internal static string GetValue(this string nameAndValue, char separator) { return nameAndValue.GetValue(separator, unquote: false); } internal static string GetValue(this string nameAndValue, char separator, bool unquote) { int num = nameAndValue.IndexOf(separator); if (num < 0 || num == nameAndValue.Length - 1) { return null; } string text = nameAndValue.Substring(num + 1).Trim(); return unquote ? text.Unquote() : text; } internal static bool IsCompressionExtension(this string value, CompressionMethod method) { string value2 = method.ToExtensionString(); StringComparison comparisonType = StringComparison.Ordinal; return value.StartsWith(value2, comparisonType); } internal static bool IsEqualTo(this int value, char c, Action<int> beforeComparing) { beforeComparing(value); return value == c; } internal static bool IsHttpMethod(this string value) { int result; switch (value) { default: result = ((value == "TRACE") ? 1 : 0); break; case "GET": case "HEAD": case "POST": case "PUT": case "DELETE": case "CONNECT": case "OPTIONS": result = 1; break; } return (byte)result != 0; } internal static bool IsPortNumber(this int value) { return value > 0 && value < 65536; } internal static bool IsReserved(this CloseStatusCode code) { return ((ushort)code).IsReservedStatusCode(); } internal static bool IsReservedStatusCode(this ushort code) { return code == 1004 || code == 1005 || code == 1006 || code == 1015; } internal static bool IsSupportedOpcode(this byte opcode) { return Enum.IsDefined(typeof(Opcode), opcode); } internal static bool IsText(this string value) { int length = value.Length; for (int i = 0; i < length; i++) { char c = value[i]; if (c < ' ') { if ("\r\n\t".IndexOf(c) == -1) { return false; } if (c == '\n') { i++; if (i == length) { break; } c = value[i]; if (" \t".IndexOf(c) == -1) { return false; } } } else if (c == '\u007f') { return false; } } return true; } internal static bool IsToken(this string value) { foreach (char c in value) { if (c < ' ') { return false; } if (c > '~') { return false; } if ("()<>@,;:\\\"/[]?={} \t".IndexOf(c) > -1) { return false; } } return true; } internal static bool KeepsAlive(this NameValueCollection headers, Version version) { StringComparison comparisonTypeForValue = StringComparison.OrdinalIgnoreCase; return (version > WebSocketSharp.Net.HttpVersion.Version10) ? (!headers.Contains("Connection", "close", comparisonTypeForValue)) : headers.Contains("Connection", "keep-alive", comparisonTypeForValue); } internal static bool MaybeUri(this string value) { int num = value.IndexOf(':'); if (num < 2 || num > 9) { return false; } string value2 = value.Substring(0, num); return value2.isPredefinedScheme(); } internal static string Quote(this string value) { string format = "\"{0}\""; string arg = value.Replace("\"", "\\\""); return string.Format(format, arg); } internal static byte[] ReadBytes(this Stream stream, int length) { byte[] array = new byte[length]; int num = 0; int num2 = 0; while (length > 0) { int num3 = stream.Read(array, num, length); if (num3 <= 0) { if (num2 >= _maxRetry) { return array.SubArray(0, num); } num2++; } else { num2 = 0; num += num3; length -= num3; } } return array; } internal static byte[] ReadBytes(this Stream stream, long length, int bufferLength) { using MemoryStream memoryStream = new MemoryStream(); byte[] buffer = new byte[bufferLength]; int num = 0; while (length > 0) { if (length < bufferLength) { bufferLength = (int)length; } int num2 = stream.Read(buffer, 0, bufferLength); if (num2 <= 0) { if (num >= _maxRetry) { break; } num++; } else { num = 0; memoryStream.Write(buffer, 0, num2); length -= num2; } } memoryStream.Close(); return memoryStream.ToArray(); } internal static void ReadBytesAsync(this Stream stream, int length, Action<byte[]> completed, Action<Exception> error) { byte[] ret = new byte[length]; int offset = 0; int retry = 0; AsyncCallback callback = null; callback = delegate(IAsyncResult ar) { try { int num = stream.EndRead(ar); if (num <= 0) { if (retry < _maxRetry) { retry++; stream.BeginRead(ret, offset, length, callback, null); } else if (completed != null) { completed(ret.SubArray(0, offset)); } } else if (num == length) { if (completed != null) { completed(ret); } } else { retry = 0; offset += num; length -= num; stream.BeginRead(ret, offset, length, callback, null); } } catch (Exception obj2) { if (error != null) { error(obj2); } } }; try { stream.BeginRead(ret, offset, length, callback, null); } catch (Exception obj) { if (error != null) { error(obj); } } } internal static void ReadBytesAsync(this Stream stream, long length, int bufferLength, Action<byte[]> completed, Action<Exception> error) { MemoryStream dest = new MemoryStream(); byte[] buff = new byte[bufferLength]; int retry = 0; Action<long> read = null; read = delegate(long len) { if (len < bufferLength) { bufferLength = (int)len; } stream.BeginRead(buff, 0, bufferLength, delegate(IAsyncResult ar) { try { int num = stream.EndRead(ar); if (num <= 0) { if (retry < _maxRetry) { int num2 = retry; retry = num2 + 1; read(len); } else { if (completed != null) { dest.Close(); byte[] obj2 = dest.ToArray(); completed(obj2); } dest.Dispose(); } } else { dest.Write(buff, 0, num); if (num == len) { if (completed != null) { dest.Close(); byte[] obj3 = dest.ToArray(); completed(obj3); } dest.Dispose(); } else { retry = 0; read(len - num); } } } catch (Exception obj4) { dest.Dispose(); if (error != null) { error(obj4); } } }, null); }; try { read(length); } catch (Exception obj) { dest.Dispose(); if (error != null) { error(obj); } } } internal static T[] Reverse<T>(this T[] array) { long num = array.LongLength; T[] array2 = new T[num]; long num2 = num - 1; for (long num3 = 0L; num3 <= num2; num3++) { array2[num3] = array[num2 - num3]; } return array2; } internal static IEnumerable<string> SplitHeaderValue(this string value, params char[] separators) { int len = value.Length; int end = len - 1; StringBuilder buff = new StringBuilder(32); bool escaped = false; bool quoted = false; for (int i = 0; i <= end; i++) { char c = value[i]; buff.Append(c); switch (c) { case '"': if (escaped) { escaped = false; } else { quoted = !quoted; } continue; case '\\': if (i == end) { break; } if (value[i + 1] == '"') { escaped = true; } continue; default: if (Array.IndexOf(separators, c) > -1 && !quoted) { buff.Length--; yield return buff.ToString(); buff.Length = 0; } continue; } break; } yield return buff.ToString(); } internal static byte[] ToByteArray(this Stream stream) { stream.Position = 0L; using MemoryStream memoryStream = new MemoryStream(); CopyTo(stream, memoryStream, 1024); memoryStream.Close(); return memoryStream.ToArray(); } internal static byte[] ToByteArray(this ushort value, ByteOrder order) { byte[] bytes = BitConverter.GetBytes(value); if (!order.IsHostOrder()) { Array.Reverse((Array)bytes); } return bytes; } internal static byte[] ToByteArray(this ulong value, ByteOrder order) { byte[] bytes = BitConverter.GetBytes(value); if (!order.IsHostOrder()) { Array.Reverse((Array)bytes); } return bytes; } internal static CompressionMethod ToCompressionMethod(this string value) { Array values = Enum.GetValues(typeof(CompressionMethod)); foreach (CompressionMethod item in values) { if (item.ToExtensionString() == value) { return item; } } return CompressionMethod.None; } internal static string ToExtensionString(this CompressionMethod method, params string[] parameters) { if (method == CompressionMethod.None) { return string.Empty; } string arg = method.ToString().ToLower(); string text = $"permessage-{arg}"; if (parameters == null || parameters.Length == 0) { return text; } string arg2 = parameters.ToString("; "); return $"{text}; {arg2}"; } internal static int ToInt32(this string numericString) { return int.Parse(numericString); } internal static IPAddress ToIPAddress(this string value) { if (value == null || value.Length == 0) { return null; } if (IPAddress.TryParse(value, out IPAddress address)) { return address; } try { IPAddress[] hostAddresses = Dns.GetHostAddresses(value); return hostAddresses[0]; } catch { return null; } } internal static List<TSource> ToList<TSource>(this IEnumerable<TSource> source) { return new List<TSource>(source); } internal static string ToString(this IPAddress address, bool bracketIPv6) { return (bracketIPv6 && address.AddressFamily == AddressFamily.InterNetworkV6) ? $"[{address}]" : address.ToString(); } internal static ushort ToUInt16(this byte[] source, ByteOrder sourceOrder) { byte[] value = source.ToHostOrder(sourceOrder); return BitConverter.ToUInt16(value, 0); } internal static ulong ToUInt64(this byte[] source, ByteOrder sourceOrder) { byte[] value = source.ToHostOrder(sourceOrder); return BitConverter.ToUInt64(value, 0); } internal static Version ToVersion(this string versionString) { return new Version(versionString); } internal static IEnumerable<string> TrimEach(this IEnumerable<string> source) { foreach (string elm in source) { yield return elm.Trim(); } } internal static string TrimSlashFromEnd(this string value) { string text = value.TrimEnd(new char[1] { '/' }); return (text.Length > 0) ? text : "/"; } internal static string TrimSlashOrBackslashFromEnd(this string value) { string text = value.TrimEnd('/', '\\'); return (text.Length > 0) ? text : value[0].ToString(); } internal static bool TryCreateVersion(this string versionString, out Version result) { result = null; try { result = new Version(versionString); } catch { return false; } return true; } internal static bool TryCreateWebSocketUri(this string uriString, out Uri result, out string message) { result = null; message = null; Uri uri = uriString.ToUri(); if (uri == null) { message = "An invalid URI string."; return false; } if (!uri.IsAbsoluteUri) { message = "A relative URI."; return false; } string scheme = uri.Scheme; if (!(scheme == "ws") && !(scheme == "wss")) { message = "The scheme part is not \"ws\" or \"wss\"."; return false; } int port = uri.Port; if (port == 0) { message = "The port part is zero."; return false; } if (uri.Fragment.Length > 0) { message = "It includes the fragment component."; return false; } if (port == -1) { port = ((scheme == "ws") ? 80 : 443); uriString = $"{scheme}://{uri.Host}:{port}{uri.PathAndQuery}"; result = new Uri(uriString); } else { result = uri; } return true; } internal static bool TryGetUTF8DecodedString(this byte[] bytes, out string s) { s = null; try { s = Encoding.UTF8.GetString(bytes); } catch { return false; } return true; } internal static bool TryGetUTF8EncodedBytes(this string s, out byte[] bytes) { bytes = null; try { bytes = Encoding.UTF8.GetBytes(s); } catch { return false; } return true; } internal static bool TryOpenRead(this FileInfo fileInfo, out FileStream fileStream) { fileStream = null; try { fileStream = fileInfo.OpenRead(); } catch { return false; } return true; } internal static string Unquote(this string value) { int num = value.IndexOf('"'); if (num == -1) { return value; } int num2 = value.LastIndexOf('"'); if (num2 == num) { return value; } int num3 = num2 - num - 1; return (num3 > 0) ? value.Substring(num + 1, num3).Replace("\\\"", "\"") : string.Empty; } internal static bool Upgrades(this NameValueCollection headers, string protocol) { StringComparison comparisonTypeForValue = StringComparison.OrdinalIgnoreCase; return headers.Contains("Upgrade", protocol, comparisonTypeForValue) && headers.Contains("Connection", "Upgrade", comparisonTypeForValue); } internal static string UrlDecode(this string value, Encoding encoding) { return (value.IndexOfAny(new char[2] { '%', '+' }) > -1) ? HttpUtility.UrlDecode(value, encoding) : value; } internal static string UrlEncode(this string value, Encoding encoding) { return HttpUtility.UrlEncode(value, encoding); } internal static void WriteBytes(this Stream stream, byte[] bytes, int bufferLength) { using MemoryStream sourceStream = new MemoryStream(bytes); CopyTo(sourceStream, stream, bufferLength); } internal static void WriteBytesAsync(this Stream stream, byte[] bytes, int bufferLength, Action completed, Action<Exception> error) { MemoryStream src = new MemoryStream(bytes); src.CopyToAsync(stream, bufferLength, delegate { if (completed != null) { completed(); } src.Dispose(); }, delegate(Exception ex) { src.Dispose(); if (error != null) { error(ex); } }); } public static string GetDescription(this WebSocketSharp.Net.HttpStatusCode code) { return ((int)code).GetStatusDescription(); } public static string GetStatusDescription(this int code) { return code switch { 100 => "Continue", 101 => "Switching Protocols", 102 => "Processing", 200 => "OK", 201 => "Created", 202 => "Accepted", 203 => "Non-Authoritative Information", 204 => "No Content", 205 => "Reset Content", 206 => "Partial Content", 207 => "Multi-Status", 300 => "Multiple Choices", 301 => "Moved Permanently", 302 => "Found", 303 => "See Other", 304 => "Not Modified", 305 => "Use Proxy", 307 => "Temporary Redirect", 400 => "Bad Request", 401 => "Unauthorized", 402 => "Payment Required", 403 => "Forbidden", 404 => "Not Found", 405 => "Method Not Allowed", 406 => "Not Acceptable", 407 => "Proxy Authentication Required", 408 => "Request Timeout", 409 => "Conflict", 410 => "Gone", 411 => "Length Required", 412 => "Precondition Failed", 413 => "Request Entity Too Large", 414 => "Request-Uri Too Long", 415 => "Unsupported Media Type", 416 => "Requested Range Not Satisfiable", 417 => "Expectation Failed", 422 => "Unprocessable Entity", 423 => "Locked", 424 => "Failed Dependency", 500 => "Internal Server Error", 501 => "Not Implemented", 502 => "Bad Gateway", 503 => "Service Unavailable", 504 => "Gateway Timeout", 505 => "Http Version Not Supported", 507 => "Insufficient Storage", _ => string.Empty, }; } public static bool IsCloseStatusCode(this ushort value) { return value > 999 && value < 5000; } public static bool IsEnclosedIn(this string value, char c) { if (value == null) { return false; } int length = value.Length; return length > 1 && value[0] == c && value[length - 1] == c; } public static bool IsHostOrder(this ByteOrder order) { return BitConverter.IsLittleEndian == (order == ByteOrder.Little); } public static bool IsLocal(this IPAddress address) { if (address == null) { throw new ArgumentNullException("address"); } if (address.Equals(IPAddress.Any)) { return true; } if (address.Equals(IPAddress.Loopback)) { return true; } if (Socket.OSSupportsIPv6) { if (address.Equals(IPAddress.IPv6Any)) { return true; } if (address.Equals(IPAddress.IPv6Loopback)) { return true; } } string hostName = Dns.GetHostName(); IPAddress[] hostAddresses = Dns.GetHostAddresses(hostName); IPAddress[] array = hostAddresses; foreach (IPAddress obj in array) { if (address.Equals(obj)) { return true; } } return false; } public static bool IsNullOrEmpty(this string value) { return value == null || value.Length == 0; } public static T[] SubArray<T>(this T[] array, int startIndex, int length) { if (array == null) { throw new ArgumentNullException("array"); } int num = array.Length; if (num == 0) { if (startIndex != 0) { throw new ArgumentOutOfRangeException("startIndex"); } if (length != 0) { throw new ArgumentOutOfRangeException("length"); } return array; } if (startIndex < 0 || startIndex >= num) { throw new ArgumentOutOfRangeException("startIndex"); } if (length < 0 || length > num - startIndex) { throw new ArgumentOutOfRangeException("length"); } if (length == 0) { return new T[0]; } if (length == num) { return array; } T[] array2 = new T[length]; Array.Copy(array, startIndex, array2, 0, length); return array2; } public static T[] SubArray<T>(this T[] array, long startIndex, long length) { if (array == null) { throw new ArgumentNullException("array"); } long num = array.LongLength; if (num == 0) { if (startIndex != 0) { throw new ArgumentOutOfRangeException("startIndex"); } if (length != 0) { throw new ArgumentOutOfRangeException("length"); } return array; } if (startIndex < 0 || startIndex >= num) { throw new ArgumentOutOfRangeException("startIndex"); } if (length < 0 || length > num - startIndex) { throw new ArgumentOutOfRangeException("length"); } if (length == 0) { return new T[0]; } if (length == num) { return array; } T[] array2 = new T[length]; Array.Copy(array, startIndex, array2, 0L, length); return array2; } public static void Times(this int n, Action<int> action) { if (n > 0 && action != null) { for (int i = 0; i < n; i++) { action(i); } } } public static void Times(this long n, Action<long> action) { if (n > 0 && action != null) { for (long num = 0L; num < n; num++) { action(num); } } } public static byte[] ToHostOrder(this byte[] source, ByteOrder sourceOrder) { if (source == null) { throw new ArgumentNullException("source"); } if (source.Length < 2) { return source; } if (sourceOrder.IsHostOrder()) { return source; } return source.Reverse(); } public static string ToString<T>(this T[] array, string separator) { if (array == null) { throw new ArgumentNullException("array"); } int num = array.Length; if (num == 0) { return string.Empty; } StringBuilder stringBuilder = new StringBuilder(64); int num2 = num - 1; for (int i = 0; i < num2; i++) { stringBuilder.AppendFormat("{0}{1}", array[i], separator); } stringBuilder.AppendFormat("{0}", array[num2]); return stringBuilder.ToString(); } public static Uri ToUri(this string value) { if (value == null || value.Length == 0) { return null; } UriKind uriKind = (value.MaybeUri() ? UriKind.Absolute : UriKind.Relative); Uri.TryCreate(value, uriKind, out Uri result); return result; } } public class MessageEventArgs : EventArgs { private string _data; private bool _dataSet; private Opcode _opcode; private byte[] _rawData; internal Opcode Opcode => _opcode; public string Data { get { setData(); return _data; } } public bool IsBinary => _opcode == Opcode.Binary; public bool IsPing => _opcode == Opcode.Ping; public bool IsText => _opcode == Opcode.Text; public byte[] RawData { get { setData(); return _rawData; } } internal MessageEventArgs(WebSocketFrame frame) { _opcode = frame.Opcode; _rawData = frame.PayloadData.ApplicationData; } internal MessageEventArgs(Opcode opcode, byte[] rawData) { if ((ulong)rawData.LongLength > PayloadData.MaxLength) { throw new WebSocketException(CloseStatusCode.TooBig); } _opcode = opcode; _rawData = rawData; } private void setData() { if (_dataSet) { return; } if (_opcode == Opcode.Binary) { _dataSet = true; return; } if (_rawData.TryGetUTF8DecodedString(out var s)) { _data = s; } _dataSet = true; } } public class CloseEventArgs : EventArgs { private bool _clean; private PayloadData _payloadData; public ushort Code => _payloadData.Code; public string Reason => _payloadData.Reason; public bool WasClean => _clean; internal CloseEventArgs(PayloadData payloadData, bool clean) { _payloadData = payloadData; _clean = clean; } } public enum ByteOrder { Little, Big } public class ErrorEventArgs : EventArgs { private Exception _exception; private string _message; public Exception Exception => _exception; public string Message => _message; internal ErrorEventArgs(string message) : this(message, null) { } internal ErrorEventArgs(string message, Exception exception) { _message = message; _exception = exception; } } public class WebSocket : IDisposable { private AuthenticationChallenge _authChallenge; private string _base64Key; private bool _client; private Action _closeContext; private CompressionMethod _compression; private WebSocketContext _context; private WebSocketSharp.Net.CookieCollection _cookies; private WebSocketSharp.Net.NetworkCredential _credentials; private bool _emitOnPing; private bool _enableRedirection; private string _extensions; private bool _extensionsRequested; private object _forMessageEventQueue; private object _forPing; private object _forSend; private object _forState; private MemoryStream _fragmentsBuffer; private bool _fragmentsCompressed; private Opcode _fragmentsOpcode; private const string _guid = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"; private Func<WebSocketContext, string> _handshakeRequestChecker; private bool _ignoreExtensions; private bool _inContinuation; private volatile bool _inMessage; private volatile Logger _log; private static readonly int _maxRetryCountForConnect; private Action<MessageEventArgs> _message; private Queue<MessageEventArgs> _messageEventQueue; private uint _nonceCount; private string _origin; private ManualResetEvent _pongReceived; private bool _preAuth; private string _protocol; private string[] _protocols; private bool _protocolsRequested; private WebSocketSharp.Net.NetworkCredential _proxyCredentials; private Uri _proxyUri; private volatile WebSocketState _readyState; private ManualResetEvent _receivingExited; private int _retryCountForConnect; private bool _secure; private ClientSslConfiguration _sslConfig; private Stream _stream; private TcpClient _tcpClient; private Uri _uri; private const string _version = "13"; private TimeSpan _waitTime; internal static readonly byte[] EmptyBytes; internal static readonly int FragmentLength; internal static readonly RandomNumberGenerator RandomNumber; internal WebSocketSharp.Net.CookieCollection CookieCollection => _cookies; internal Func<WebSocketContext, string> CustomHandshakeRequestChecker { get { return _handshakeRequestChecker; } set { _handshakeRequestChecker = value; } } internal bool IgnoreExtensions { get { return _ignoreExtensions; } set { _ignoreExtensions = value; } } public CompressionMethod Compression { get { return _compression; } set { if (!_client) { string text = "The interface is not for the client."; throw new InvalidOperationException(text); } lock (_forState) { if (canSet()) { _compression = value; } } } } public IEnumerable<WebSocketSharp.Net.Cookie> Cookies { get { lock (_cookies.SyncRoot) { foreach (WebSocketSharp.Net.Cookie cookie in _cookies) { yield return cookie; } } } } public WebSocketSharp.Net.NetworkCredential Credentials => _credentials; public bool EmitOnPing { get { return _emitOnPing; } set { _emitOnPing = value; } } public bool EnableRedirection { get { return _enableRedirection; } set { if (!_client) { string text = "The interface is not for the client."; throw new InvalidOperationException(text); } lock (_forState) { if (canSet()) { _enableRedirection = value; } } } } public string Extensions => _extensions ?? string.Empty; public bool IsAlive => ping(EmptyBytes); public bool IsSecure => _secure; public Logger Log { get { return _log; } internal set { _log = value; } } public string Origin { get { return _origin; } set { if (!_client) { string text = "The interface is not for the client."; throw new InvalidOperationException(text); } if (!value.IsNullOrEmpty()) { if (!Uri.TryCreate(value, UriKind.Absolute, out Uri result)) { string text2 = "Not an absolute URI string."; throw new ArgumentException(text2, "value"); } if (result.Segments.Length > 1) { string text3 = "It includes the path segments."; throw new ArgumentException(text3, "value"); } } lock (_forState) { if (canSet()) { _origin = ((!value.IsNullOrEmpty()) ? value.TrimEnd(new char[1] { '/' }) : value); } } } } public string Protocol { get { return _protocol ?? string.Empty; } internal set { _protocol = value; } } public WebSocketState ReadyState => _readyState; public ClientSslConfiguration SslConfiguration { get { if (!_client) { string text = "The interface is not for the client."; throw new InvalidOperationException(text); } if (!_secure) { string text2 = "The interface does not use a secure connection."; throw new InvalidOperationException(text2); } return getSslConfiguration(); } } public Uri Url => _client ? _uri : _context.RequestUri; public TimeSpan WaitTime { get { return _waitTime; } set { if (value <= TimeSpan.Zero) { string text = "Zero or less."; throw new ArgumentOutOfRangeException("value", text); } lock (_forState) { if (canSet()) { _waitTime = value; } } } } public event EventHandler<CloseEventArgs> OnClose; public event EventHandler<ErrorEventArgs> OnError; public event EventHandler<MessageEventArgs> OnMessage; public event EventHandler OnOpen; static WebSocket() { _maxRetryCountForConnect = 10; EmptyBytes = new byte[0]; FragmentLength = 1016; RandomNumber = new RNGCryptoServiceProvider(); } internal WebSocket(HttpListenerWebSocketContext context, string protocol) { _context = context; _protocol = protocol; _closeContext = context.Close; _log = context.Log; _message = messages; _secure = context.IsSecureConnection; _stream = context.Stream; _waitTime = TimeSpan.FromSeconds(1.0); init(); } internal WebSocket(TcpListenerWebSocketContext context, string protocol) { _context = context; _protocol = protocol; _closeContext = context.Close; _log = context.Log; _message = messages; _secure = context.IsSecureConnection; _stream = context.Stream; _waitTime = TimeSpan.FromSeconds(1.0); init(); } public WebSocket(string url, params string[] protocols) { if (url == null) { throw new ArgumentNullException("url"); } if (url.Length == 0) { throw new ArgumentException("An empty string.", "url"); } if (!url.TryCreateWebSocketUri(out _uri, out var text)) { throw new ArgumentException(text, "url"); } if (protocols != null && protocols.Length != 0) { if (!checkProtocols(protocols, out text)) { throw new ArgumentException(text, "protocols"); } _protocols = protocols; } _base64Key = CreateBase64Key(); _client = true; _log = new Logger(); _message = messagec; _retryCountForConnect = -1; _secure = _uri.Scheme == "wss"; _waitTime = TimeSpan.FromSeconds(5.0); init(); } private void abort(string reason, Exception exception) { ushort code = (ushort)((exception is WebSocketException) ? ((WebSocketException)exception).Code : 1006); abort(code, reason); } private void abort(ushort code, string reason) { PayloadData payloadData = new PayloadData(code, reason); close(payloadData, send: false, received: false); } private bool accept() { lock (_forState) { if (_readyState == WebSocketState.Open) { _log.Trace("The connection has already been established."); return false; } if (_readyState == WebSocketState.Closing) { _log.Error("The close process is in progress."); error("An error has occurred before accepting.", null); return false; } if (_readyState == WebSocketState.Closed) { _log.Error("The connection has been closed."); error("An error has occurred before accepting.", null); return false; } _readyState = WebSocketState.Connecting; bool flag = false; try { flag = acceptHandshake(); } catch (Exception ex) { _log.Fatal(ex.Message); _log.Debug(ex.ToString()); abort(1011, "An exception has occurred while accepting."); } if (!flag) { return false; } _readyState = WebSocketState.Open; return true; } } private bool acceptHandshake() { if (!checkHandshakeRequest(_context, out var text)) { _log.Error(text); _log.Debug(_context.ToString()); refuseHandshake(1002, "A handshake error has occurred."); return false; } if (!customCheckHandshakeRequest(_context, out text)) { _log.Error(text); _log.Debug(_context.ToString()); refuseHandshake(1002, "A handshake error has occurred."); return false; } _base64Key = _context.Headers["Sec-WebSocket-Key"]; if (_protocol != null && !_context.SecWebSocketProtocols.Contains((string p) => p == _protocol)) { _protocol = null; } if (!_ignoreExtensions) { string value = _context.Headers["Sec-WebSocket-Extensions"]; processSecWebSocketExtensionsClientHeader(value); } createHandshakeResponse().WriteTo(_stream); return true; } private bool canSet() { return _readyState == WebSocketState.New || _readyState == WebSocketState.Closed; } private bool checkHandshakeRequest(WebSocketContext context, out string message) { message = null; if (!context.IsWebSocketRequest) { message = "Not a WebSocket handshake request."; return false; } NameValueCollection headers = context.Headers; string text = headers["Sec-WebSocket-Key"]; if (text == null) { message = "The Sec-WebSocket-Key header is non-existent."; return false; } if (text.Length == 0) { message = "The Sec-WebSocket-Key header is invalid."; return false; } string text2 = headers["Sec-WebSocket-Version"]; if (text2 == null) { message = "The Sec-WebSocket-Version header is non-existent."; return false; } if (text2 != "13") { message = "The Sec-WebSocket-Version header is invalid."; return false; } string text3 = headers["Sec-WebSocket-Protocol"]; if (text3 != null && text3.Length == 0) { message = "The Sec-WebSocket-Protocol header is invalid."; return false; } if (!_ignoreExtensions) { string text4 = headers["Sec-WebSocket-Extensions"]; if (text4 != null && text4.Length == 0) { message = "The Sec-WebSocket-Extensions header is invalid."; return false; } } return true; } private bool checkHandshakeResponse(HttpResponse response, out string message) { message = null; if (response.IsRedirect) { message = "The redirection is indicated."; return false; } if (response.IsUnauthorized) { message = "The authentication is required."; return false; } if (!response.IsWebSocketResponse) { message = "Not a WebSocket handshake response."; return false; } NameValueCollection headers = response.Headers; string text = headers["Sec-WebSocket-Accept"]; if (text == null) { message = "The Sec-WebSocket-Accept header is non-existent."; return false; } if (text != CreateResponseKey(_base64Key)) { message = "The Sec-WebSocket-Accept header is invalid."; return false; } string text2 = headers["Sec-WebSocket-Version"]; if (text2 != null && text2 != "13") { message = "The Sec-WebSocket-Version header is invalid."; return false; } string subp = headers["Sec-WebSocket-Protocol"]; if (subp == null) { if (_protocolsRequested) { message = "The Sec-WebSocket-Protocol header is non-existent."; return false; } } else if (!_protocolsRequested || subp.Length <= 0 || !_protocols.Contains((string p) => p == subp)) { message = "The Sec-WebSocket-Protocol header is invalid."; return false; } string text3 = headers["Sec-WebSocket-Extensions"]; if (text3 != null && !validateSecWebSocketExtensionsServerHeader(text3)) { message = "The Sec-WebSocket-Extensions header is invalid."; return false; } return true; } private static bool checkProtocols(string[] protocols, out string message) { message = null; Func<string, bool> condition = (string p) => p.IsNullOrEmpty() || !p.IsToken(); if (protocols.Contains(condition)) { message = "It contains a value that is not a token."; return false; } if (protocols.ContainsTwice()) { message = "It contains a value twice."; return false; } return true; } private bool checkProxyConnectResponse(HttpResponse response, out string message) { message = null; if (response.IsProxyAuthenticationRequired) { message = "The proxy authentication is required."; return false; } if (!response.IsSuccess) { message = "The proxy has failed a connection to the requested URL."; return false; } return true; } private bool checkReceivedFrame(WebSocketFrame frame, out string message) { message = null; if (frame.IsMasked) { if (_client) { message = "A frame from the server is masked."; return false; } } else if (!_client) { message = "A frame from a client is not masked."; return false; } if (frame.IsCompressed) { if (_compression == CompressionMethod.None) { message = "A frame is compressed without any agreement for it."; return false; } if (!frame.IsData) { message = "A non data frame is compressed."; return false; } } if (frame.IsData && _inContinuation) { message = "A data frame was received while receiving continuation frames."; return false; } if (frame.IsControl) { if (frame.Fin == Fin.More) { message = "A control frame is fragmented."; return false; } if (frame.PayloadLength > 125) { message = "The payload length of a control frame is greater than 125."; return false; } } if (frame.Rsv2 == Rsv.On) { message = "The RSV2 of a frame is non-zero without any negotiation for it."; return false; } if (frame.Rsv3 == Rsv.On) { message = "The RSV3 of a frame is non-zero without any negotiation for it."; return false; } return true; } private void close(ushort code, string reason) { if (_readyState == WebSocketState.Closing) { _log.Trace("The close process is already in progress."); return; } if (_readyState == WebSocketState.Closed) { _log.Trace("The connection has already been closed."); return; } if (code == 1005) { close(PayloadData.Empty, send: true, received: false); return; } PayloadData payloadData = new PayloadData(code, reason); bool flag = !code.IsReservedStatusCode(); close(payloadData, flag, received: false); } private void close(PayloadData payloadData, bool send, bool received) { lock (_forState) { if (_readyState == WebSocketState.Closing) { _log.Trace("The close process is already in progress."); return; } if (_readyState == WebSocketState.Closed) { _log.Trace("The connection has already been closed."); return; } send = send && _readyState == WebSocketState.Open; _readyState = WebSocketState.Closing; } _log.Trace("Begin closing the connection."); bool clean = closeHandshake(payloadData, send, received); releaseResources(); _log.Trace("End closing the connection."); _readyState = WebSocketState.Closed; CloseEventArgs e = new CloseEventArgs(payloadData, clean); try { this.OnClose.Emit(this, e); } catch (Exception ex) { _log.Error(ex.Message); _log.Debug(ex.ToString()); } } private void closeAsync(ushort code, string reason) { if (_readyState == WebSocketState.Closing) { _log.Trace("The close process is already in progress."); return; } if (_readyState == WebSocketState.Closed) { _log.Trace("The connection has already been closed."); return; } if (code == 1005) { closeAsync(PayloadData.Empty, send: true, received: false); return; } PayloadData payloadData = new PayloadData(code, reason); bool flag = !code.IsReservedStatusCode(); closeAsync(payloadData, flag, received: false); } private void closeAsync(PayloadData payloadData, bool send, bool received) { Action<PayloadData, bool, bool> closer = close; closer.BeginInvoke(payloadData, send, received, delegate(IAsyncResult ar) { closer.EndInvoke(ar); }, null); } private bool closeHandshake(PayloadData payloadData, bool send, bool received) { bool flag = false; if (send) { WebSocketFrame webSocketFrame = WebSocketFrame.CreateCloseFrame(payloadData, _client); byte[] bytes = webSocketFrame.ToArray(); flag = sendBytes(bytes); if (_client) { webSocketFrame.Unmask(); } } if (!received && flag && _receivingExited != null) { received = _receivingExited.WaitOne(_waitTime); } bool flag2 = flag && received; string text = $"The closing was clean? {flag2} (sent: {flag} received: {received})"; _log.Debug(text); return flag2; } private bool connect() { if (_readyState == WebSocketState.Connecting) { _log.Trace("The connect process is in progress."); return false; } lock (_forState) { if (_readyState == WebSocketState.Open) { _log.Trace("The connection has already been established."); return false; } if (_readyState == WebSocketState.Closing) { _log.Error("The close process is in progress."); error("An error has occurred before connecting.", null); return false; } if (_retryCountForConnect >= _maxRetryCountForConnect) { _log.Error("An opportunity for reconnecting has been lost."); error("An error has occurred before connecting.", null); return false; } _retryCountForConnect++; _readyState = WebSocketState.Connecting; bool flag = false; try { flag = doHandshake(); } catch (Exception ex) { _log.Fatal(ex.Message); _log.Debug(ex.ToString()); abort("An exception has occurred while connecting.", ex); } if (!flag) { return false; } _retryCountForConnect = -1; _readyState = WebSocketState.Open; return true; } } private AuthenticationResponse createAuthenticationResponse() { if (_credentials == null) { return null; } if (_authChallenge != null) { AuthenticationResponse authenticationResponse = new AuthenticationResponse(_authChallenge, _credentials, _nonceCount); _nonceCount = authenticationResponse.NonceCount; return authenticationResponse; } return _preAuth ? new AuthenticationResponse(_credentials) : null; } private string createExtensions() { StringBuilder stringBuilder = new StringBuilder(80); if (_compression != 0) { string arg = _compression.ToExtensionString("server_no_context_takeover", "client_no_context_takeover"); stringBuilder.AppendFormat("{0}, ", arg); } int length = stringBuilder.Length; if (length <= 2) { return null; } stringBuilder.Length = length - 2; return stringBuilder.ToString(); } private HttpResponse createHandshakeFailureResponse() { HttpResponse httpResponse = HttpResponse.CreateCloseResponse(WebSocketSharp.Net.HttpStatusCode.BadRequest); httpResponse.Headers["Sec-WebSocket-Version"] = "13"; return httpResponse; } private HttpRequest createHandshakeRequest() { HttpRequest httpRequest = HttpRequest.CreateWebSocketHandshakeRequest(_uri); NameValueCollection headers = httpRequest.Headers; headers["Sec-WebSocket-Key"] = _base64Key; headers["Sec-WebSocket-Version"] = "13"; if (!_origin.IsNullOrEmpty()) { headers["Origin"] = _origin; } if (_protocols != null) { headers["Sec-WebSocket-Protocol"] = _protocols.ToString(", "); _protocolsRequested = true; } string text = createExtensions(); if (text != null) { headers["Sec-WebSocket-Extensions"] = text; _extensionsRequested = true; } AuthenticationResponse authenticationResponse = createAuthenticationResponse(); if (authenticationResponse != null) { headers["Authorization"] = authenticationResponse.ToString(); } if (_cookies.Count > 0) { httpRequest.SetCookies(_cookies); } return httpRequest; } private HttpResponse createHandshakeResponse() { HttpResponse httpResponse = HttpResponse.CreateWebSocketHandshakeResponse(); NameValueCollection headers = httpResponse.Headers; headers["Sec-WebSocket-Accept"] = CreateResponseKey(_base64Key); if (_protocol != null) { headers["Sec-WebSocket-Protocol"] = _protocol; } if (_extensions != null) { headers["Sec-WebSocket-Extensions"] = _extensions; } if (_cookies.Count > 0) { httpResponse.SetCookies(_cookies); } return httpResponse; } private bool customCheckHandshakeRequest(WebSocketContext context, out string message) { message = null; if (_handshakeRequestChecker == null) { return true; } message = _handshakeRequestChecker(context); return message == null; } private MessageEventArgs dequeueFromMessageEventQueue() { lock (_forMessageEventQueue) { return (_messageEventQueue.Count > 0) ? _messageEventQueue.Dequeue() : null; } } private bool doHandshake() { setClientStream(); HttpResponse httpResponse = sendHandshakeRequest(); if (!checkHandshakeResponse(httpResponse, out var text)) { _log.Error(text); _log.Debug(httpResponse.ToString()); abort(1002, "A handshake error has occurred."); return false; } if (_protocolsRequested) { _protocol = httpResponse.Headers["Sec-WebSocket-Protocol"]; } if (_extensionsRequested) { string text2 = httpResponse.Headers["Sec-WebSocket-Extensions"]; if (text2 == null) { _compression = CompressionMethod.None; } else { _extensions = text2; } } WebSocketSharp.Net.CookieCollection cookies = httpResponse.Cookies; if (cookies.Count > 0) { _cookies.SetOrRemove(cookies); } return true; } private void enqueueToMessageEventQueue(MessageEventArgs e) { lock (_forMessageEventQueue) { _messageEventQueue.Enqueue(e); } } private void error(string message, Exception exception) { ErrorEventArgs e = new ErrorEventArgs(message, exception); try { this.OnError.Emit(this, e); } catch (Exception ex) { _log.Error(ex.Message); _log.Debug(ex.ToString()); } } private ClientSslConfiguration getSslConfiguration() { if (_sslConfig == null) { _sslConfig = new ClientSslConfiguration(_uri.DnsSafeHost); } return _sslConfig; } private void init() { _compression = CompressionMethod.None; _cookies = new WebSocketSharp.Net.CookieCollection(); _forPing = new object(); _forSend = new object(); _forState = new object(); _messageEventQueue = new Queue<MessageEventArgs>(); _forMessageEventQueue = ((ICollection)_messageEventQueue).SyncRoot; _readyState = WebSocketState.New; } private void message() { MessageEventArgs obj = null; lock (_forMessageEventQueue) { if (_inMessage || _messageEventQueue.Count == 0 || _readyState != WebSocketState.Open) { return; } obj = _messageEventQueue.Dequeue(); _inMessage = true; } _message(obj); } private void messagec(MessageEventArgs e) { while (true) { try { this.OnMessage.Emit(this, e); } catch (Exception ex) { _log.Error(ex.Message); _log.Debug(ex.ToString()); error("An exception has occurred during an OnMessage event.", ex); } lock (_forMessageEventQueue) { if (_messageEventQueue.Count == 0) { _inMessage = false; break; } if (_readyState != WebSocketState.Open) { _inMessage = false; break; } e = _messageEventQueue.Dequeue(); } bool flag = true; } } private void messages(MessageEventArgs e) { try { this.OnMessage.Emit(this, e); } catch (Exception ex) { _log.Error(ex.Message); _log.Debug(ex.ToString()); error("An exception has occurred during an OnMessage event.", ex); } lock (_forMessageEventQueue) { if (_messageEventQueue.Count == 0) { _inMessage = false; return; } if (_readyState != WebSocketState.Open) { _inMessage = false; return; } e = _messageEventQueue.Dequeue(); } ThreadPool.QueueUserWorkItem(delegate { messages(e); }); } private void open() { _inMessage = true; startReceiving(); try { this.OnOpen.Emit(this, EventArgs.Empty); } catch (Exception ex) { _log.Error(ex.Message); _log.Debug(ex.ToString()); error("An exception has occurred during the OnOpen event.", ex); } MessageEventArgs obj = null; lock (_forMessageEventQueue) { if (_messageEventQueue.Count == 0) { _inMessage = false; return; } if (_readyState != WebSocketState.Open) { _inMessage = false; return; } obj = _messageEventQueue.Dequeue(); } _message.BeginInvoke(obj, delegate(IAsyncResult ar) { _message.EndInvoke(ar); }, null); } private bool ping(byte[] data) { if (_readyState != WebSocketState.Open) { return false; } ManualResetEvent pongReceived = _pongReceived; if (pongReceived == null) { return false; } lock (_forPing) { try { pongReceived.Reset(); if (!send(Fin.Final, Opcode.Ping, data, compressed: false)) { return false; } return pongReceived.WaitOne(_waitTime); } catch (ObjectDisposedException) { return false; } } } private bool processCloseFrame(WebSocketFrame frame) { PayloadData payloadData = frame.PayloadData; bool flag = !payloadData.HasReservedCode; close(payloadData, flag, received: true); return false; } private bool processDataFrame(WebSocketFrame frame) { MessageEventArgs e = (frame.IsCompressed ? new MessageEventArgs(frame.Opcode, frame.PayloadData.ApplicationData.Decompress(_compression)) : new MessageEventArgs(frame)); enqueueToMessageEventQueue(e); return true; } private bool processFragmentFrame(WebSocketFrame frame) { if (!_inContinuation) { if (frame.IsContinuation) { return true; } _fragmentsOpcode = frame.Opcode; _fragmentsCompressed = frame.IsCompressed; _fragmentsBuffer = new MemoryStream(); _inContinuation = true; } _fragmentsBuffer.WriteBytes(frame.PayloadData.ApplicationData, 1024); if (frame.IsFinal) { using (_fragmentsBuffer) { byte[] rawData = (_fragmentsCompressed ? _fragmentsBuffer.DecompressToArray(_compression) : _fragmentsBuffer.ToArray()); MessageEventArgs e = new MessageEventArgs(_fragmentsOpcode, rawData); enqueueToMessageEventQueue(e); } _fragmentsBuffer = null; _inContinuation = false; } return true; } private bool processPingFrame(WebSocketFrame frame) { _log.Trace("A ping was received."); WebSocketFrame webSocketFrame = WebSocketFrame.CreatePongFrame(frame.PayloadData, _client); lock (_forState) { if (_readyState != WebSocketState.Open) { _log.Trace("A pong to this ping cannot be sent."); return true; } byte[] bytes = webSocketFrame.ToArray(); if (!sendBytes(bytes)) { return false; } } _log.Trace("A pong to this ping has been sent."); if (_emitOnPing) { if (_client) { webSocketFrame.Unmask(); } MessageEventArgs e = new MessageEventArgs(frame); enqueueToMessageEventQueue(e); } return true; } private bool processPongFrame(WebSocketFrame frame) { _log.Trace("A pong was received."); try { _pongReceived.Set(); } catch (NullReferenceException) { return false; } catch (ObjectDisposedException) { return false; } _log.Trace("It has been signaled."); return true; } private bool processReceivedFrame(WebSocketFrame frame) { if (!checkReceivedFrame(frame, out var text)) { _log.Error(text); _log.Debug(frame.ToString(dump: false)); abort(1002, "An error has occurred while receiving."); return false; } frame.Unmask(); return frame.IsFragment ? processFragmentFrame(frame) : (frame.IsData ? processDataFrame(frame) : (frame.IsPing ? processPingFrame(frame) : (frame.IsPong ? processPongFrame(frame) : (frame.IsClose ? processCloseFrame(frame) : processUnsupportedFrame(frame))))); } private void processSecWebSocketExtensionsClientHeader(string value) { if (value == null) { return; } StringBuilder stringBuilder = new StringBuilder(80); bool flag = false; foreach (string item in value.SplitHeaderValue(',')) { string text = item.Trim(); if (text.Length != 0 && !flag && text.IsCompressionExtension(CompressionMethod.Deflate)) { _compression = CompressionMethod.Deflate; string arg = _compression.ToExtensionString("client_no_context_takeover", "server_no_context_takeover"); stringBuilder.AppendFormat("{0}, ", arg); flag = true; } } int length = stringBuilder.Length; if (length > 2) { stringBuilder.Length = length - 2; _extensions = stringBuilder.ToString(); } } private bool processUnsupportedFrame(WebSocketFrame frame) { _log.Fatal("An unsupported frame was received."); _log.Debug(frame.ToString(dump: false)); abort(1003, "There is no way to handle it."); return false; } private void refuseHandshake(ushort code, string reason) { createHandshakeFailureResponse().WriteTo(_stream); abort(code, reason); } private void releaseClientResources() { if (_stream != null) { _stream.Dispose(); _stream = null; } if (_tcpClient != null) { _tcpClient.Close(); _tcpClient = null; } } private void releaseCommonResources() { if (_fragmentsBuffer != null) { _fragmentsBuffer.Dispose(); _fragmentsBuffer = null; _inContinuation = false; } if (_pongReceived != null) { _pongReceived.Close(); _pongReceived = null; } if (_receivingExited != null) { _receivingExited.Close(); _receivingExited = null; } } private void releaseResources() { if (_client) { releaseClientResources(); } else { releaseServerResources(); } releaseCommonResources(); } private void releaseServerResources() { if (_closeContext != null) { _closeContext(); _closeContext = null; } _stream = null; _context = null; } private bool send(byte[] rawFrame) { lock (_forState) { if (_readyState != WebSocketState.Open) { _log.Error("The current state of the interface is not Open."); return false; } return sendBytes(rawFrame); } } private bool send(Opcode opcode, Stream sourceStream) { lock (_forSend) { Stream stream = sourceStream; bool flag = false; bool flag2 = false; try { if (_compression != 0) { stream = sourceStream.Compress(_compression); flag = true; } flag2 = send(opcode, stream, flag); if (!flag2) { error("A send has failed.", null); } } catch (Exception ex) { _log.Error(ex.Message); _log.Debug(ex.ToString()); error("An exception has occurred during a send.", ex); } finally { if (flag) { stream.Dispose(); } sourceStream.Dispose(); } return flag2; } } private bool send(Opcode opcode, Stream dataStream, bool compressed) { long length = dataStream.Length; if (length == 0) { return send(Fin.Final, opcode, EmptyBytes, compressed: false); } long num = length / FragmentLength; int num2 = (int)(length % FragmentLength); byte[] array = null; switch (num) { case 0L: array = new byte[num2]; return dataStream.Read(array, 0, num2) == num2 && send(Fin.Final, opcode, array, compressed); case 1L: if (num2 == 0) { array = new byte[FragmentLength]; return dataStream.Read(array, 0, FragmentLength) == FragmentLength && send(Fin.Final, opcode, array, compressed); } break; } array = new byte[FragmentLength]; if (dataStream.Read(array, 0, FragmentLength) != FragmentLength || !send(Fin.More, opcode, array, compressed)) { return false; } long num3 = ((num2 == 0) ? (num - 2) : (num - 1)); for (long num4 = 0L; num4 < num3; num4++) { if (dataStream.Read(array, 0, FragmentLength) != FragmentLength || !send(Fin.More, Opcode.Cont, array, compressed: false)) { return false; } } if (num2 == 0) { num2 = FragmentLength; } else { array = new byte[num2]; } return dataStream.Read(array, 0, num2) == num2 && send(Fin.Final, Opcode.Cont, array, compressed: false); } private bool send(Fin fin, Opcode opcode, byte[] data, bool compressed) { WebSocketFrame webSocketFrame = new WebSocketFrame(fin, opcode, data, compressed, _client); byte[] rawFrame = webSocketFrame.ToArray(); return send(rawFrame); } private void sendAsync(Opcode opcode, Stream sourceStream, Action<bool> completed) { Func<Opcode, Stream, bool> sender = send; sender.BeginInvoke(opcode, sourceStream, delegate(IAsyncResult ar) { try { bool obj = sender.EndInvoke(ar); if (completed != null) { completed(obj); } } catch (Exception ex) { _log.Error(ex.Message); _log.Debug(ex.ToString()); error("An exception has occurred during the callback for an async send.", ex); } }, null); } private bool sendBytes(byte[] bytes) { try { _stream.Write(bytes, 0, bytes.Length); } catch (Exception ex) { _log.Error(ex.Message); _log.Debug(ex.ToString()); return false; } return true; } private HttpResponse sendHandshakeRequest() { HttpRequest httpRequest = createHandshakeRequest(); int millisecondsTimeout = 90000; HttpResponse response = httpRequest.GetResponse(_stream, millisecondsTimeout); if (response.IsUnauthorized) { string value = response.Headers["WWW-Authenticate"]; if (value.IsNullOrEmpty()) { _log.Debug("No authentication challenge is specified."); return response; } AuthenticationChallenge authenticationChallenge = AuthenticationChallenge.Parse(value); if (authenticationChallenge == null) { _log.Debug("An invalid authentication challenge is specified."); return response; } _authChallenge = authenticationChallenge; if (_credentials == null) { return response; } AuthenticationResponse authenticationResponse = new AuthenticationResponse(_authChallenge, _credentials, _nonceCount); _nonceCount = authenticationResponse.NonceCount; httpRequest.Headers["Authorization"] = authenticationResponse.ToString(); if (response.CloseConnection) { releaseClientResources(); setClientStream(); } millisecondsTimeout = 15000; response = httpRequest.GetResponse(_stream, millisecondsTimeout); } if (response.IsRedirect) { if (!_enableRedirection) { return response; } string text = response.Headers["Location"]; if (text.IsNullOrEmpty()) { _log.Debug("No URL to redirect is located."); return response; } if (!text.TryCreateWebSocketUri(out var result, out var _)) { _log.Debug("An invalid URL to redirect is located."); return response; } releaseClientResources(); _uri = result; _secure = result.Scheme == "wss"; setClientStream(); return sendHandshakeRequest(); } return response; } private HttpResponse sendProxyConnectRequest() { HttpRequest httpRequest = HttpRequest.CreateConnectRequest(_uri); int millisecondsTimeout = 90000; HttpResponse response = httpRequest.GetResponse(_stream, millisecondsTimeout); if (response.IsProxyAuthenticationRequired) { if (_proxyCredentials == null) { return response; } string value = response.Headers["Proxy-Authenticate"]; if (value.IsNullOrEmpty()) { _log.Debug("No proxy authentication challenge is specified."); return response; } AuthenticationChallenge authenticationChallenge = AuthenticationChallenge.Parse(value); if (authenticationChallenge == null) { _log.Debug("An invalid proxy authentication challenge is specified."); return response; } AuthenticationResponse authenticationResponse = new AuthenticationResponse(authenticationChallenge, _proxyCredentials, 0u); httpRequest.Headers["Proxy-Authorization"] = authenticationResponse.ToString(); if (response.CloseConnection) { releaseClientResources(); _tcpClient = new TcpClient(_proxyUri.DnsSafeHost, _proxyUri.Port); _stream = _tcpClient.GetStream(); } millisecondsTimeout = 15000; response = httpRequest.GetResponse(_stream, millisecondsTimeout); } return response; } private void setClientStream() { if (_proxyUri != null) { _tcpClient = new TcpClient(_proxyUri.DnsSafeHost, _proxyUri.Port); _stream = _tcpClient.GetStream(); HttpResponse response = sendProxyConnectRequest(); if (!checkProxyConnectResponse(response, out var text)) { throw new WebSocketException(text); } } else { _tcpClient = new TcpClient(_uri.DnsSafeHost, _uri.Port); _stream = _tcpClient.GetStream(); } if (_secure) { ClientSslConfiguration sslConfiguration = getSslConfiguration(); string targetHost = sslConfiguration.TargetHost; if (targetHost != _uri.DnsSafeHost) { string text2 = "An invalid host name is specified."; throw new WebSocketException(CloseStatusCode.TlsHandshakeFailure, text2); } try { SslStream sslStream = new SslStream(_stream, leaveInnerStreamOpen: false, sslConfiguration.ServerCertificateValidationCallback, sslConfiguration.ClientCertificateSelectionCallback); sslStream.AuthenticateAsClient(targetHost, sslConfiguration.ClientCertificates, sslConfiguration.EnabledSslProtocols, sslConfiguration.CheckCertificateRevocation); _stream = sslStream; } catch (Exception innerException) { throw new WebSocketException(CloseStatusCode.TlsHandshakeFailure, innerException); } } } private void startReceiving() { if (_messageEventQueue.Count > 0) { _messageEventQueue.Clear(); } _pongReceived = new ManualResetEvent(initialState: false); _receivingExited = new ManualResetEvent(initialState: false); Action receive = null; receive = delegate { WebSocketFrame.ReadFrameAsync(_stream, unmask: false, delegate(WebSocketFrame frame) { if (!processReceivedFrame(frame) || _readyState == WebSocketState.Closed) { _receivingExited?.Set(); } else { receive(); if (!_inMessage) { message(); } } }, delegate(Exception ex) { _log.Fatal(ex.Message); _log.Debug(ex.ToString()); abort("An exception has occurred while receiving.", ex); }); }; receive(); } private bool validateSecWebSocketExtensionsServerHeader(string value) { if (!_extensionsRequested) { return false; } if (value.Length == 0) { return false; } bool flag = _compression != CompressionMethod.None; foreach (string item in value.SplitHeaderValue(',')) { string text = item.Trim(); if (flag && text.IsCompressionExtension(_compression)) { string param1 = "server_no_context_takeover"; string param2 = "client_no_context_takeover"; if (!text.Contains(param1)) { return false; } string name = _compression.ToExtensionString(); if (text.SplitHeaderValue(';').Contains(delegate(string t) { t = t.Trim(); bool flag2 = t == name || t == param1 || t == param2; return !flag2; })) { return false; } flag = false; continue; } return false; } return true; } internal void Accept() { if (accept()) { open(); } } internal void AcceptAsync() { Func<bool> acceptor = accept; acceptor.BeginInvoke(delegate(IAsyncResult ar) { if (acceptor.EndInvoke(ar)) { open(); } }, null); } internal void Close(PayloadData payloadData, byte[] rawFrame) { lock (_forState) { if (_readyState == WebSocketState.Closing) { _log.Trace("The close process is already in progress."); return; } if (_readyState == WebSocketState.Closed) { _log.Trace("The connection has already been closed."); return; } _readyState = WebSocketState.Closing; } _log.Trace("Begin closing the connection."); bool flag = rawFrame != null && sendBytes(rawFrame); bool flag2 = flag && _receivingExited != null && _receivingExited.WaitOne(_waitTime); bool flag3 = flag && flag2; string text = $"The closing was clean? {flag3} (sent: {flag} received: {flag2})"; _log.Debug(text); releaseServerResources(); releaseCommonResources(); _log.Trace("End closing the connection."); _readyState = WebSocketState.Closed; CloseEventArgs e = new CloseEventArgs(payloadData, flag3); try { this.OnClose.Emit(this, e); } catch (Exception ex) { _log.Error(ex.Message); _log.Debug(ex.ToString()); } } internal static string CreateBase64Key() { byte[] array = new byte[16]; RandomNumber.GetBytes(array); return Convert.ToBase64String(array); } internal static string CreateResponseKey(string base64Key) { SHA1 sHA = new SHA1CryptoServiceProvider(); string s = base64Key + "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"; byte[] uTF8EncodedBytes = s.GetUTF8EncodedBytes(); byte[] inArray = sHA.ComputeHash(uTF8EncodedBytes); return Convert.ToBase64String(inArray); } internal bool Ping(byte[] rawFrame) { if (_readyState != WebSocketState.Open) { return false; } ManualResetEvent pongReceived = _pongReceived; if (pongReceived == null) { return false; } lock (_forPing) { try { pongReceived.Reset(); if (!send(rawFrame)) { return false; } return pongReceived.WaitOne(_waitTime); } catch (ObjectDisposedException) { return false; } } } internal void Send(Opcode opcode, byte[] data, Dictionary<CompressionMethod, byte[]> cache) { lock (_forSend) { if (!cache.TryGetValue(_compression, out var value)) { value = new WebSocketFrame(Fin.Final, opcode, data.Compress(_compression), _compression != CompressionMethod.None, mask: false).ToArray(); cache.Add(_compression, value); } send(value); } } internal void Send(Opcode opcode, Stream sourceStream, Dictionary<CompressionMethod, Stream> cache) { lock (_forSend) { if (!cache.TryGetValue(_compression, out var value)) { value = sourceStream.Compress(_compression); cache.Add(_compression, value); } else { value.Position = 0L; } send(opcode, value, _compression != CompressionMethod.None); } } public void Close() { close(1005, string.Empty); } public void Close(ushort code) { Close(code, string.Empty); } public void Close(CloseStatusCode code) { Close(code, string.Empty); } public void Close(ushort code, string reason) { if (!code.IsCloseStatusCode()) { string text = "Less than 1000 or greater than 4999."; throw new ArgumentOutOfRangeException("code", text); } if (_client && code == 1011) { string text2 = "1011 cannot be used."; throw new ArgumentException(text2, "code"); } if (!_client && code == 1010) { string text3 = "1010 cannot be used."; throw new ArgumentException(text3, "code"); } if (reason.IsNullOrEmpty()) { close(code, string.Empty); return; } if (code == 1005) { string text4 = "1005 cannot be used."; throw new ArgumentException(text4, "code"); } if (!reason.TryGetUTF8EncodedBytes(out var bytes)) { string text5 = "It could not be UTF-8-encoded."; throw new ArgumentException(text5, "reason"); } if (bytes.Length > 123) { string text6 = "Its size is greater than 123 bytes."; throw new ArgumentOutOfRangeException("reason", text6); } close(code, reason); } public void Close(CloseStatusCode code, string reason) { if (_client && code == CloseStatusCode.ServerError) { string text = "ServerError cannot be used."; throw new ArgumentException(text, "code"); } if (!_client && code == CloseStatusCode.MandatoryExtension) { string text2 = "MandatoryExtension cannot be used."; throw new ArgumentException(text2, "code"); } if (reason.IsNullOrEmpty()) { close((ushort)code, string.Empty); return; } if (code == CloseStatusCode.NoStatus) { string text3 = "NoStatus cannot be used."; throw new ArgumentException(text3, "code"); } if (!reason.TryGetUTF8EncodedBytes(out var bytes)) { string text4 = "It could not be UTF-8-encoded."; throw new ArgumentException(text4, "reason"); } if (bytes.Length > 123) { string text5 = "Its size is greater than 123 bytes."; throw new ArgumentOutOfRangeException("reason", text5); } close((ushort)code, reason); } public void CloseAsync() { closeAsync(1005, string.Empty); } public void CloseAsync(ushort code) { CloseAsync(code, string.Empty); } public void CloseAsync(CloseStatusCode code) { CloseAsync(code, string.Empty); } public void CloseAsync(ushort code, string reason) { if (!code.IsCloseStatusCode()) { string text = "Less than 1000 or greater than 4999."; throw new ArgumentOutOfRangeException("code", text); } if (_client && code == 1011) { string text2 = "1011 cannot be used."; throw new ArgumentException(text2, "code"); } if (!_client && code == 1010) { string text3 = "1010 cannot be used."; throw new ArgumentException(text3, "code"); } if (reason.IsNullOrEmpty()) { closeAsync(code, string.Empty); return; } if (code == 1005) { string text4 = "1005 cannot be used."; throw new ArgumentException(text4, "code"); } if (!reason.TryGetUTF8EncodedBytes(out var bytes)) { string text5 = "It could not be UTF-8-encoded."; throw new ArgumentException(text5, "reason"); } if (bytes.Length > 123) { string text6 = "Its size is greater than 123 bytes."; throw new ArgumentOutOfRangeException("reason", text6); } closeAsync(code, reason); } public void CloseAsync(CloseStatusCode code, string reason) { if (_client && code == CloseStatusCode.ServerError) { string text = "ServerError cannot be used."; throw new ArgumentException(text, "code"); } if (!_client && code == CloseStatusCode.MandatoryExtension) { string text2 = "MandatoryExtension cannot be used."; throw new ArgumentException(text2, "code"); } if (reason.IsNullOrEmpty()) { closeAsync((ushort)code, string.Empty); return; } if (code == CloseStatusCode.NoStatus) { string text3 = "NoStatus cannot be used."; throw new ArgumentException(text3, "code"); } if (!reason.TryGetUTF8EncodedBytes(out var bytes)) { string text4 = "It could not be UTF-8-encoded."; throw new ArgumentException(text4, "reason"); } if (bytes.Length > 123) { string text5 = "Its size is greater than 123 bytes."; throw new ArgumentOutOfRangeException("reason", text5); } closeAsync((ushort)code, reason); } public void Connect() { if (!_client) { string text = "The interface is not for the client."; throw new InvalidOperationException(text); } if (_retryCountForConnect >= _maxRetryCountForConnect) { string text2 = "A series of reconnecting has failed."; throw new InvalidOperationException(text2); } if (connect()) { open(); } } public void ConnectAsync() { if (!_client) { string text = "The interface is not for the client."; throw new InvalidOperationException(text); } if (_retryCountForConnect >= _maxRetryCountForConnect) { string text2 = "A series of reconnecting has failed."; throw new InvalidOperationException(text2); } Func<bool> connector = connect; connector.BeginInvoke(delegate(IAsyncResult ar) { if (connector.EndInvoke(ar)) { open(); } }, null); } public bool Ping() { return ping(EmptyBytes); } public bool Ping(string message) { if (message.IsNullOrEmpty()) { return ping(EmptyBytes); } if (!message.TryGetUTF8EncodedBytes(out var bytes)) { string text = "It could not be UTF-8-encoded."; throw new ArgumentException(text, "message"); } if (bytes.Length > 125) { string text2 = "Its size is greater than 125 bytes."; throw new ArgumentOutOfRangeException("message", text2); } return ping(bytes); } public void Send(byte[] data) { if (_readyState != WebSocketState.Open) { string text = "The current state of the interface is not Open."; throw new InvalidOperationException(text); } if (data == null) { throw new ArgumentNullException("data"); } send(Opcode.Binary, new MemoryStream(data)); } public void Send(FileInfo fileInfo) { if (_readyState != WebSocketState.Open) { string text = "The current state of the interface is not Open."; throw new InvalidOperationException(text); } if (fileInfo == null) { throw new ArgumentNullException("fileInfo"); } if (!fileInfo.Exists) { string text2 = "The file does not exist."; throw new ArgumentException(text2, "fileInfo"); } if (!fileInfo.TryOpenRead(out var fileStream)) { string text3 = "The file could not be opened."; throw new ArgumentException(text3, "fileInfo"); } send(Opcode.Binary, fileStream); } public void Send(string data) { if (_readyState != WebSocketState.Open) { string text = "The current state of the interface is not Open."; throw new InvalidOperationException(text); } if (data == null) { throw new ArgumentNullException("data"); } if (!data.TryGetUTF8EncodedBytes(out var bytes)) { string text2 = "It could not be UTF-8-encoded."; throw new ArgumentException(text2, "data"); } send(Opcode.Text, new MemoryStream(bytes)); } public void Send(Stream stream, int length) { if (_readyState != WebSocketState.Open) { string text = "The current state of the interface is not Open."; throw new InvalidOperationException(text); } if (stream == null) { throw new ArgumentNullException("stream"); } if (!stream.CanRead) { string text2 = "It cannot be read."; throw new ArgumentException(text2, "stream"); } if (length < 1) { string text3 = "Less than 1."; throw new ArgumentException(text3, "length"); } byte[] array = stream.ReadBytes(length); int num = array.Length; if (num == 0) { string text4 = "No data could be read from it."; throw new ArgumentException(text4, "stream"); } if (num < length) { string format = "Only {0} byte(s) of data could be read from the stream."; string text5 = string.Format(format, num); _log.Warn(text5); } send(Opcode.Binary, new MemoryStream(array)); } public void SendAsync(byte[] data, Action<bool> completed) { if (_readyState != WebSocketState.Open) { string text = "The current state of the interface is not Open."; throw new InvalidOperationException(text); } if (data == null) { throw new ArgumentNullException("data"); } sendAsync(Opcode.Binary, new MemoryStream(data), completed); } public void SendAsync(FileInfo fileInfo, Action<bool> completed) { if (_readyState != WebSocketState.Open) { string text = "The current state of the interface is not Open."; throw new InvalidOperationException(text); } if (fileInfo == null) { throw new ArgumentNullException("fileInfo"); } if (!fileInfo.Exists) { string text2 = "The file does not exist."; throw new ArgumentException(text2, "fileInfo"); } if (!fileInfo.TryOpenRead(out var fileStream)) { string text3 = "The file could not be opened."; throw new ArgumentException(text3, "fileInfo"); } sendAsync(Opcode.Binary, fileStream, completed); } public void SendAsync(string data, Action<bool> completed) { if (_readyState != WebSocketState.Open) { string text = "The current state of the interface is not Open."; throw new InvalidOperationException(text); } if (data == null) { throw new ArgumentNullException("data"); } if (!data.TryGetUTF8EncodedBytes(out var bytes)) { string text2 = "It could not be UTF-8-encoded."; throw new ArgumentException(text2, "data"); } sendAsync(Opcode.Text, new MemoryStream(bytes), completed); } public void SendAsync(Stream stream, int length, Action<bool> completed) { if (_readyState != WebSocketState.Open) { string text = "The current state of the interface is not Open."; throw new InvalidOperationException(text); } if (stream == null) { throw new ArgumentNullException("stream"); } if (!stream.CanRead) { string text2 = "It cannot be read."; throw new ArgumentException(text2, "stream"); } if (length < 1) { string text3 = "Less than 1."; throw new ArgumentException(text3, "length"); } byte[] array = stream.ReadBytes(length); int num = array.Length; if (num == 0) { string text4 = "No data could be read from it."; throw new ArgumentException(text4, "stream"); } if (num < length) { string format = "Only {0} byte(s) of data could be read from the stream."; string text5 = string.Format(format, num); _log.Warn(text5); } sendAsync(Opcode.Binary, new MemoryStream(array), completed); } public void SetCookie(WebSocketSharp.Net.Cookie cookie) { if (!_client) { string text = "The interface is not for the client."; throw new InvalidOperationException(text); } if (cookie == null) { throw new ArgumentNullException("cookie"); } lock (_forState) { if (!canSet()) { return; } lock (_cookies.SyncRoot) { _cookies.SetOrRemove(cookie); } } } public void SetCredentials(string username, string password, bool preAuth) { if (!_client) { string text = "The interface is not for the client."; throw new InvalidOperationException(text); } if (!username.IsNullOrEmpty() && (Ext.Contains(username, ':') || !username.IsText())) { string text2 = "It contains an invalid character."; throw new ArgumentException(text2, "username"); } if (!password.IsNullOrEmpty() && !password.IsText()) { string text3 = "It contains an invalid character."; throw new ArgumentException(text3, "password"); } lock (_forState) { if (canSet()) { if (username.IsNullOrEmpty()) { _credentials = null; _preAuth = false; } else { _credentials = new WebSocketSharp.Net.NetworkCredential(username, password, _uri.PathAndQuery); _preAuth = preAuth; } } } } public void SetProxy(string url, string username, string password) { if (!_client) { string text = "The interface is not for the client."; throw new InvalidOperationException(text); } Uri result = null; if (!url.IsNullOrEmpty()) { if (!Uri.TryCreate(url, UriKind.Absolute, out result)) { string text2 = "Not an absolute URI string."; throw new ArgumentException(text2, "url"); } if (result.Scheme != "http") { string text3 = "The scheme part is not http."; throw new ArgumentException(text3, "url"); } if (result.Segments.Length > 1) { string text4 = "It includes the path segments."; throw new ArgumentException(text4, "url"); } } if (!username.IsNullOrEmpty() && (Ext.Contains(username, ':') || !username.IsText())) { string text5 = "It contains an invalid character."; throw new ArgumentException(text5, "username"); } if (!password.IsNullOrEmpty() && !password.IsText()) { string text6 = "It contains an invalid character."; throw new ArgumentException(text6, "password"); } lock (_forState) { if (canSet()) { if (url.IsNullOrEmpty()) { _proxyUri = null; _proxyCredentials = null; } else { _proxyUri = result; _proxyCredentials = ((!username.IsNullOrEmpty()) ? new WebSocketSharp.Net.NetworkCredential(username, password, $"{_uri.DnsSafeHost}:{_uri.Port}") : null); } } } } void IDisposable.Dispose() { close(1001, string.Empty); } } public enum CloseStatusCode : ushort { Normal = 1000, Away = 1001, ProtocolError = 1002, UnsupportedData = 1003, Undefined = 1004, NoStatus = 1005, Abnormal = 1006, InvalidData = 1007, PolicyViolation = 1008, TooBig = 1009, MandatoryExtension = 1010, ServerError = 1011, TlsHandshakeFailure = 1015 } internal enum Fin : byte { More, Final } internal enum Mask : byte { Off, On } internal enum Opcode : byte { Cont = 0, Text = 1, Binary = 2, Close = 8, Ping = 9, Pong = 10 } internal class PayloadData : IEnumerable<byte>, IEnumerable { private byte[] _data; private long _extDataLength; private long _length; public static readonly PayloadData Empty; public static readonly ulong MaxLength; internal ushort Code => (ushort)((_length >= 2) ? _data.SubArray(0, 2).ToUInt16(ByteOrder.Big) : 1005); internal long ExtensionDataLength { get { return _extDataLength; } set { _extDataLength = value; } } internal bool HasReservedCode => _length >= 2 && Code.IsReservedStatusCode(); internal string Reason { get { if (_length <= 2) { return string.Empty; } byte[] bytes = _data.SubArray(2L, _length - 2); string s; return bytes.TryGetUTF8DecodedString(out s) ? s : string.Empty; } } public byte[] ApplicationData => (_extDataLength > 0) ? _data.SubArray(_extDataLength, _length - _extDataLength) : _data; public byte[] ExtensionData => (_extDataLength > 0) ? _data.SubArray(0L, _extDataLength) : WebSocket.EmptyBytes; public ulong Length => (ulong)_length; static PayloadData() { Empty = new PayloadData(WebSocket.EmptyBytes, 0L); MaxLength = 9223372036854775807uL; } internal PayloadData(byte[] data) : this(data, data.LongLength) { } internal PayloadData(byte[] data, long length) { _data = data; _length = length; } internal PayloadData(ushort code, string reason) { _data = code.Append(reason); _length = _data.LongLength; } internal void Mask(byte[] key) { for (long num = 0L; num < _length; num++) { _data[num] ^= key[num % 4]; } } public IEnumerator<byte> GetEnumerator() { byte[] data = _data; for (int i = 0; i < data.Length; i++) { yield return data[i]; } } public byte[] ToArray() { return _data; } public override string ToString() { return BitConverter.ToString(_data); } IEnumerator IEnumerable.GetEnumerator() { return GetEnumerator(); } } internal enum Rsv : byte { Off, On } public enum CompressionMethod : byte { None, Deflate } public class WebSocketException : Exception { private ushort _code; public ushort Code => _code; private WebSocketException(ushort code, string message, Exception innerException) : base(message ?? code.GetErrorMessage(), innerException) { _code = code; } internal WebSocketException() : this(CloseStatusCode.Abnormal, null, null) { } internal WebSocketException(Exception innerException) : this(CloseStatusCode.Abnormal, null, innerException) { } internal WebSocketException(string message) : this(CloseStatusCode.Abnormal, message, null) { } internal WebSocketException(CloseStatusCode code) : this(code, null, null) { } internal WebSocketException(string message, Exception innerException) : this(CloseStatusCode.Abnormal, message, innerException) { } internal WebSocketException(CloseStatusCode code, Exception innerException) : this(code, null, innerException) { } internal WebSocketException(CloseStatusCode code, string message) : this(code, message, null) { } internal WebSocketException(CloseStatusCode code, string message, Exception innerException) : this((ushort)code, message, innerException) { } } public class LogData { private StackFrame _caller; private DateTime _date; private LogLevel _level; private string _message; public StackFrame Caller => _caller; public DateTime Date => _date; public LogLevel Level => _level; public string Message => _message; internal LogData(LogLevel level, StackFrame caller, string message) { _level = level; _caller = caller; _message = message ?? string.Empty; _date = DateTime.Now; } public override string ToString() { string text = $"[{_date}]"; string text2 = $"{_level.ToString().ToUpper(),-5}"; MethodBase method = _caller.GetMethod(); Type declaringType = method.DeclaringType; int fileLineNumber = _caller.GetFileLineNumber(); string text3 = $"{declaringType.Name}.{method.Name}:{fileLineNumber}"; string[] array = _message.Replace("\r\n", "\n").TrimEnd(new char[1] { '\n' }).Split(new char[1] { '\n' }); if (array.Length <= 1) { return $"{text} {text2} {text3} {_message}"; } StringBuilder stringBuilder = new StringBuilder(64); stringBuilder.AppendFormat("{0} {1} {2}\n\n", text, text2, text3); for (int i = 0; i < array.Length; i++) { stringBuilder.AppendFormat(" {0}\n", array[i]); } return stringBuilder.ToString(); } } public enum LogLevel { Trace, Debug, Info, Warn, Error, Fatal, None } public class Logger { private volatile string _file; private volatile LogLevel _level; private Action<LogData, string> _output; private object _sync; public string File { get { return _file; } set { lock (_sync) { _file = value; } } } public LogLevel Level { get { return _level; } set { lock (_sync) { _level = value; } } } public Action<LogData, string> Output { get { return _output; } set { lock (_sync) { _output = value ?? new Action<LogData, string>(defaultOutput); } } } public Logger() : this(LogLevel.Error, null, null) { } public Logger(LogLevel level) : this(level, null, null) { } public Logger(LogLevel level, string file, Action<LogData, string> output) { _level = level; _file = file; _output = output ?? new Action<LogData, string>(defaultOutput); _sync = new object(); } private static void defaultOutput(LogData data, string path) { string value = data.ToString(); Console.WriteLine(value); if (path != null && path.Length > 0) { writeToFile(value, path); } } private void output(string message, LogLevel level) { lock (_sync) { if (_level > level) { return; } try { LogData arg = new LogData(level, new StackFrame(2, needFileInfo: true), message); _output(arg, _file); } catch (Exception ex) { LogData logData = new LogData(LogLevel.Fatal, new StackFrame(0, needFileInfo: true), ex.Message); Console.WriteLine(logData.ToString()); } } } private static void writeToFile(string value, string path) { using StreamWriter writer = new StreamWriter(path, append: true); using TextWriter textWriter = TextWriter.Synchronized(writer); textWriter.WriteLine(value); } public void Debug(string message) { if (_level <= LogLevel.Debug) { output(message, LogLevel.Debug); } } public void Error(string message) { if (_level <= LogLevel.Error) { output(message, LogLevel.Error); } } public void Fatal(string message) { if (_level <= LogLevel.Fatal) { output(message, LogLevel.Fatal); } } public void Info(string message) { if (_level <= LogLevel.Info) { output(message, LogLevel.Info); } } public void Trace(string message) { if (_level <= LogLevel.Trace) { output(message, LogLevel.Trace); } } public void Warn(string message) { if (_level <= LogLevel.Warn) { output(message, LogLevel.Warn); } } } public enum WebSocketState : ushort { New, Connecting, Open, Closing, Closed } internal class WebSocketFrame : IEnumerable<byte>, IEnumerable { private static readonly int _defaultHeaderLength; private static readonly int _defaultMaskingKeyLength; private byte[] _extPayloadLength; private Fin _fin; private Mask _mask; private byte[] _maskingKey; private Opcode _opcode; private PayloadData _payloadData; private byte _payloadLength; private Rsv _rsv1; private Rsv _rsv2; private Rsv _rsv3; internal ulong ExactPayloadLength => (_payloadLength < 126) ? _payloadLength : ((_payloadLength == 126) ? _extPayloadLength.ToUInt16(ByteOrder.Big) : _extPayloadLength.ToUInt64(ByteOrder.Big)); internal int ExtendedPayloadLengthWidth => (_payloadLength >= 126) ? ((_payloadLength == 126) ? 2 : 8) : 0; public byte[] ExtendedPayloadLength => _extPayloadLength; public Fin Fin => _fin; public bool IsBinary => _opcode == Opcode.Binary; public bool IsClose => _opcode == Opcode.Close; public bool IsCompressed => _rsv1 == Rsv.On; public bool IsContinuation => _opcode == Opcode.Cont; public bool IsControl => (int)_opcode >= 8; public bool IsData => _opcode == Opcode.Text || _opcode == Opcode.Binary; public bool IsFinal => _fin == Fin.Final; public bool IsFragment => _fin == Fin.More || _opcode == Opcode.Cont; public bool IsMasked => _mask == Mask.On; public bool IsPing => _opcode == Opcode.Ping; public bool IsPong => _opcode == Opcode.Pong; public bool IsText => _opcode == Opcode.Text; public ulong Length => (ulong)(_defaultHeaderLength + _extPayloadLength.Length + _maskingKey.Length) + _payloadData.Length; public Mask Mask => _mask; public byte[] MaskingKey => _maskingKey; public Opcode Opcode => _opcode; public PayloadData PayloadData => _payloadData; public byte PayloadLength => _payloadLength; public Rsv Rsv1 => _rsv1; public Rsv Rsv2 => _rsv2; public Rsv Rsv3 => _rsv3; static WebSocketFrame() { _defaultHeaderLength = 2; _defaultMaskingKeyLength = 4; } private WebSocketFrame() { } internal WebSocketFrame(Fin fin, Opcode opcode, byte[] data, bool compressed, bool mask) : this(fin, opcode, new PayloadData(data), compressed, mask) { } internal WebSocketFrame(Fin fin, Opcode opcode, PayloadData payloadData, bool compressed, bool mask) { _fin = fin; _opcode = opcode; _rsv1 = (compressed ? Rsv.On : Rsv.Off); _rsv2 = Rsv.Off; _rsv3 = Rsv.Off; ulong length = payloadData.Length; if (length < 126) { _payloadLength = (byte)length; _extPayloadLength = WebSocket.EmptyBytes; } else if (length < 65536) { _payloadLength = 126; _extPayloadLength = ((ushort)length).ToByteArray(ByteOrder.Big); } else { _payloadLength = 127; _extPayloadLength = length.ToByteArray(ByteOrder.Big); } if (mask) { _mask = Mask.On; _maskingKey = createMaskingKey(); payloadData.Mask(_maskingKey); } else { _mask = Mask.Off; _maskingKey = WebSocket.EmptyBytes; } _payloadData = payloadData; } private static byte[] createMaskingKey() { byte[