Beispiel #1
0
 /// <summary>
 /// Gets the name of this application instance.
 ///
 /// By default, the instance name is a combination of the computer name and process ID.
 /// </summary>
 /// <returns>Instance name string.</returns>
 public static string GetInstanceName()
 {
     using (FStringUnsafe resultUnsafe = FStringPool.New())
     {
         Native_FApp.GetInstanceName(ref resultUnsafe.Array);
         return(resultUnsafe.Value);
     }
 }