diff --git a/PInvoke/WinSCard/WinSCard.cs b/PInvoke/WinSCard/WinSCard.cs
index ca305501..a7bf83ba 100644
--- a/PInvoke/WinSCard/WinSCard.cs
+++ b/PInvoke/WinSCard/WinSCard.cs
@@ -2,11 +2,12 @@ global using System;
global using System.Runtime.InteropServices;
global using Vanara.InteropServices;
-global using SCARDCONTEXT = nuint;
using System.Linq;
using System.Text;
using Vanara.Extensions;
+using SCARDCONTEXT = System.UIntPtr;
+
namespace Vanara.PInvoke;
///
diff --git a/System/Path.cs b/System/Path.cs
index 379716ab..dbf704ec 100644
--- a/System/Path.cs
+++ b/System/Path.cs
@@ -196,7 +196,7 @@ public static class PathEx
///
/// The UNC path.
/// On success, the server portion of the UNC path. On failure, is returned.
- public static string GetUNCServer(string path) => PathIsUNCEx(path, out var ptr) ? ptr.ToString() : null;
+ public static string? GetUNCServer(string path) => PathIsUNCEx(path, out var ptr) ? ptr.ToString() : null;
///
/// Searches a path to determine if it contains a valid prefix of the type passed by . A prefix is one of
@@ -214,7 +214,7 @@ public static class PathEx
/// A string with the matching suffix if successful, or if does not end with one of
/// the specified suffixes.
///
- public static string HasSuffix(string path, string[] suffixes) => Vanara.Extensions.StringHelper.GetString(PathFindSuffixArray(path, suffixes, suffixes.Length));
+ public static string HasSuffix(string path, string[] suffixes) => PathFindSuffixArray(path, suffixes, suffixes.Length).ToString();
/// Compares two paths to determine if they have a common root component.
/// A string of maximum length MAX_PATH that contains the first path to be compared.