public LdpPacket BuildPacket(LdpPreparableDesktopInfoResponse response)
 {
     var packet = LdpPacket.CreateBuilder();
     packet.Type = PacketType.PREPARABLE_DESKTOP_INFO_RESPONSE;
     packet.PreparableDesktopResponse = response;
     return packet.Build();
 }
Example #2
0
        public LdpPacket BuildPacket(LdpPreparableDesktopInfoResponse response)
        {
            var packet = LdpPacket.CreateBuilder();

            packet.Type = PacketType.PREPARABLE_DESKTOP_INFO_RESPONSE;
            packet.PreparableDesktopResponse = response;
            return(packet.Build());
        }
Example #3
0
        public LdpPreparableDesktopInfoResponse SetRemoteDesktopInfo(int width, int height)
        {
            var response = LdpPreparableDesktopInfoResponse.CreateBuilder();

            response.ScreenWidth  = width;
            response.ScreenHeight = height;
            return(response.Build());
        }