static internal HSteamPipe GetHSteamPipe() { if (Config.Os == OsType.Windows) { return(Win64.SteamAPI_GetHSteamPipe()); } else if (Config.Os == OsType.Posix) { return(Posix.SteamAPI_GetHSteamPipe()); } else { throw new System.Exception("this platform isn't supported"); } }