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.
 
 

63 lines
1.8 KiB

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CircleViewer
{
public class Constants
{
public static string CircleFolder
{
get
{
var folder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Circle");
if (!Directory.Exists(folder))
Directory.CreateDirectory(folder);
return folder;
}
}
public static List<string> SupportedFiles
{
get
{
return new List<string>
{
".gif",
".jpeg",
".jpg",
".png",
".pdf"
};
}
}
public const string CustomerCode = "CIRCLE";
public const string AuthCode = "ORAMA";
public const string AppKey = "Dashboard";
public const string EndUserId = "userman";
public const string Secret = "2FDA4588-774B-4FA6-8B3D-6F08F5FA6E90";
public const string CircleViewEventUrl = "https://circlecloudfuncstaging.azurewebsites.net/api/CircleViewEvent";
}
// CircleView Messages
// for circle service to persist these messages, they have to be between 100000 and 1000000
public enum CircleViewMessages
{
FileViewed = 10001,
FileEncrypted = 10002,
InviteGenerated = 10003,
VerificationRequested = 10004,
// CircleCreated = 10005, // can't have this one since this is above the circle
MemberRevoked = 10006,
DeviceRevoked = 10007,
BlockedViewAttempt = 10008,
Unknown = 10009,
LastMessage = 10010 // don't use this one except for looping.
}
}