コード例 #1
0
ファイル: FApp.cs プロジェクト: gitter-badger/USharp
 /// <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);
     }
 }