# Microsoft.AspNetCore.Hosting

``` diff
 namespace Microsoft.AspNetCore.Hosting {
     public static class WebHostBuilderNamedPipeExtensions {
-        public static IWebHostBuilder UseNamedPipes(this IWebHostBuilder hostBuilder);
+        [SupportedOSPlatformAttribute("windows")]
+        public static IWebHostBuilder UseNamedPipes(this IWebHostBuilder hostBuilder);
-        public static IWebHostBuilder UseNamedPipes(this IWebHostBuilder hostBuilder, Action<NamedPipeTransportOptions> configureOptions);
+        [SupportedOSPlatformAttribute("windows")]
+        public static IWebHostBuilder UseNamedPipes(this IWebHostBuilder hostBuilder, Action<NamedPipeTransportOptions> configureOptions);
     }
 }
```

