diff --git a/src/dotnet/FileSystemHost.cs b/src/dotnet/FileSystemHost.cs index 4bb9fc26..5b746915 100644 --- a/src/dotnet/FileSystemHost.cs +++ b/src/dotnet/FileSystemHost.cs @@ -355,10 +355,9 @@ namespace Fsp /// /// Return the installed version of WinFsp. /// - /// public static Version Version() { - return Api.GetFspVersion(); + return Api.GetVersion(); } /* FSP_FILE_SYSTEM_INTERFACE */ diff --git a/src/dotnet/Interop.cs b/src/dotnet/Interop.cs index 41b65aea..36773cad 100644 --- a/src/dotnet/Interop.cs +++ b/src/dotnet/Interop.cs @@ -980,7 +980,7 @@ namespace Fsp.Interop return 0/*STATUS_SUCCESS*/; } - internal static Version GetFspVersion() + internal static Version GetVersion() { UInt32 Version = 0; FspVersion(out Version);