public static bool GetQueryUGCPreviewURL(UGCQueryHandle_t handle, uint index, out string pchURL, uint cchURLSize) {
InteropHelp.TestIfAvailableGameServer();
IntPtr pchURL2 = Marshal.AllocHGlobal((int)cchURLSize);
bool ret = NativeMethods.ISteamGameServerUGC_GetQueryUGCPreviewURL(handle, index, pchURL2, cchURLSize);
pchURL = ret ? InteropHelp.PtrToStringUTF8(pchURL2) : null;
Marshal.FreeHGlobal(pchURL2);
return ret;
}