<PackageReference Include="castle.core" Version="2.5.2" />

ProxyServices

public static class ProxyServices
List of utility methods related to dynamic proxy operations
public static bool IsDynamicProxy(Type type)

Determines whether the specified type is a proxy generated by DynamicProxy (1 or 2).