Esempio n. 1
0
 /// <summary>
 /// Retrieves the value of a property from the current process
 /// as <see cref="int"/>. If the value cannot be cast to <see cref="int"/>, returns <c>0</c>.
 /// </summary>
 /// <param name="key">The name of the property.</param>
 /// <returns>The property value.</returns>
 public static int GetPropertyAsInt32(string key)
 {
     return(properties.GetPropertyAsInt32(key));
 }