CAS is dead, even in .NET Framework (it's deprecated and not receiving any security or servicing fixes). Use the guidance in https://docs.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib0003 to update our code snippets. - [x] dotnet/docs repo - [x] dotnet/dotnet-api-docs repo - [x] dotnet/samples (I didn't find anything obvious to update here) - [x] dotnet/docs-desktop