public LdpPacket BuildPacket(LdpPreparableDesktopInfoResponse response) { var packet = LdpPacket.CreateBuilder(); packet.Type = PacketType.PREPARABLE_DESKTOP_INFO_RESPONSE; packet.PreparableDesktopResponse = response; return packet.Build(); }
public LdpPacket BuildPacket(LdpPreparableDesktopInfoResponse response) { var packet = LdpPacket.CreateBuilder(); packet.Type = PacketType.PREPARABLE_DESKTOP_INFO_RESPONSE; packet.PreparableDesktopResponse = response; return(packet.Build()); }
public LdpPreparableDesktopInfoResponse SetRemoteDesktopInfo(int width, int height) { var response = LdpPreparableDesktopInfoResponse.CreateBuilder(); response.ScreenWidth = width; response.ScreenHeight = height; return(response.Build()); }