diff --git a/src/dotnet/src/Mil.Navy.Nrl.Norm/NormSession.cs b/src/dotnet/src/Mil.Navy.Nrl.Norm/NormSession.cs
index 6f24080..f4b9177 100644
--- a/src/dotnet/src/Mil.Navy.Nrl.Norm/NormSession.cs
+++ b/src/dotnet/src/Mil.Navy.Nrl.Norm/NormSession.cs
@@ -74,11 +74,11 @@ namespace Mil.Navy.Nrl.Norm
///
/// Specifies the session to return.
/// Returns a NormSession.
- internal static NormSession GetSession(long handle)
+ internal static NormSession? GetSession(long handle)
{
lock (_normSessions)
{
- return _normSessions[handle];
+ return _normSessions.TryGetValue(handle, out NormSession? session) ? session : null;
}
}