Ejemplo n.º 1
0
 /// <summary>
 /// Gets the name of the application, i.e. "UE4" or "Rocket".
 ///
 /// @todo need better application name discovery. this is quite horrible and may not work on future platforms.
 /// </summary>
 /// <returns>Application name string.</returns>
 public static string GetName()
 {
     using (FStringUnsafe resultUnsafe = FStringPool.New())
     {
         Native_FApp.GetName(ref resultUnsafe.Array);
         return(resultUnsafe.Value);
     }
 }