Example #1
0
 public static void XmlSetAttributeInt64(XmlElement node, string name, Int64 val)
 {
     node.SetAttribute(name, Conversions.ToString(val));
 }
Example #2
0
 public static int UnixTimeStamp()
 {
     return(Conversions.ToUnixTime(DateTime.UtcNow));
 }
Example #3
0
 public static void XmlSetAttributeBool(XmlElement node, string name, bool val)
 {
     node.SetAttribute(name, Conversions.ToString(val));
 }