コード例 #1
0
ファイル: FApp.cs プロジェクト: gitter-badger/USharp
        /// <summary>
        /// Gets the globally unique identifier of this application instance.
        ///
        /// Every running instance of the engine has a globally unique instance identifier
        /// that can be used to identify it from anywhere on the network.
        ///
        /// @see GetSessionId
        /// </summary>
        /// <returns>Instance identifier, or an invalid GUID if there is no local instance.</returns>
        public static Guid GetInstanceId()
        {
            Guid result;

            Native_FApp.GetInstanceId(out result);
            return(result);
        }