Share via


IsolatedWindowsHostMessenger.GetFileId(String) Method

Definition

Deprecated. Gets an unique identifier of the file that is opened in the Isolated Windows Environment.

public:
 static Platform::Guid GetFileId(Platform::String ^ filePath);
 static winrt::guid GetFileId(winrt::hstring const& filePath);
/// [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsHostMessenger is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
 static winrt::guid GetFileId(winrt::hstring const& filePath);
public static Guid GetFileId(string filePath);
[Windows.Foundation.Metadata.Deprecated("IsolatedWindowsHostMessenger is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
public static Guid GetFileId(string filePath);
function getFileId(filePath)
Public Shared Function GetFileId (filePath As String) As Guid

Parameters

filePath
String

Platform::String

winrt::hstring

Path of the file on the host.

Returns

Guid

Platform::Guid

winrt::guid

Guid

Attributes

Remarks

Warning

This is a deprecated API.

Applies to