1 using System;
2 using System.Data;
3 using System.Configuration;
4 using System.Web;
5 using System.Web.Security;
6 using System.Web.UI;
7 using System.Web.UI.WebControls;
8 using System.Web.UI.WebControls.WebParts;
9 using System.Web.UI.HtmlControls;
10
11 ///
12 /// global variables
13 ///
14 public class GlobalInfo
15 {
16 private static GlobalInfo instance = null;
17 private string _hostAddress = "http://harbormist.com/webclient/AddTextToImage/";
18 private bool _localLink = false;
19
20 ///
21 /// Address where the image is located.
22 ///
23 public string HostAddress
24 {
25 get
26 {
27 if (!_localLink) return _hostAddress;
28 else return "";
29 }
30 }
31
32
33 public GlobalInfo()
34 {
35 //
36 // TODO: Add constructor logic here
37 //
38 }
39
40 public static GlobalInfo GetInstance()
41 {
42 if (instance == null) instance = new GlobalInfo();
43 return instance;
44 }
45 }