diff --git a/src/Stormpath.AspNetCore/StormpathMiddlewareExtensions.cs b/src/Stormpath.AspNetCore/StormpathMiddlewareExtensions.cs index da0a6ee..604c355 100644 --- a/src/Stormpath.AspNetCore/StormpathMiddlewareExtensions.cs +++ b/src/Stormpath.AspNetCore/StormpathMiddlewareExtensions.cs @@ -194,7 +194,7 @@ public static IApplicationBuilder UseStormpath(this IApplicationBuilder app) private static string GetLibraryUserAgent(Assembly hostingAssembly) { - var libraryVersion = typeof(StormpathMiddleware).GetTypeInfo().Assembly.GetName().Version; + var libraryVersion = typeof(StormpathAuthenticationMiddleware).GetTypeInfo().Assembly.GetName().Version; var libraryToken = $"stormpath-aspnetcore/{libraryVersion.Major}.{libraryVersion.Minor}.{libraryVersion.Build}"; var hostVersion = hostingAssembly.GetName().Version;