You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
635 B

2 years ago
using Newtonsoft.Json;
using System.Runtime.InteropServices;
namespace WebTest
{
[ClassInterface(ClassInterfaceType.AutoDual)]
[ComVisible(true)]
public class GlobalContext
{
public User User { get; set; }
public string UserToken { get; set; }
#region APIHost
public string BBYWApiHost { get; set; }
public string MDSApiHost { get; set; }
#endregion
public string GetUserString()
{
return JsonConvert.SerializeObject(User);
}
public string GetClientApiVersion()
{
return "10123";
}
2 years ago
}
}