aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Web/DownloadLatestPPCVersionResponse.cs
blob: 2cc6b731a96bd82d8b3a11c5b6912ad1196432d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Core;
using Tango.Transport.Web;

namespace Tango.MachineStudio.Common.Web
{
    public class DownloadLatestPPCVersionResponse : WebResponseMessage
    {
        public String Version { get; set; }

        public String BlobAddress { get; set; }

        public String CdnAddress { get; set; }

        public DataSource DataSource { get; set; }
    }
}
static void SetUnmanagedMemory(IntPtr dst, int filler, int count) { memset(dst, filler, count); } // Win32 memory copy function //[DllImport("ntdll.dll")] [DllImport("msvcrt.dll", EntryPoint = "memcpy", CallingConvention = CallingConvention.Cdecl, SetLastError = false)] private static extern unsafe byte* memcpy( byte* dst, byte* src, int count); // Win32 memory set function //[DllImport("ntdll.dll")] //[DllImport("coredll.dll", EntryPoint = "memset", SetLastError = false)] [DllImport("msvcrt.dll", EntryPoint = "memset", CallingConvention = CallingConvention.Cdecl, SetLastError = false)] private static extern void memset( IntPtr dst, int filler, int count); } }