Not sure if there is a faster way to do this, but first get the type of the base type that you inherit from.
typeof(Client).BaseType
After that, you can only get basic properties using bindflags.
BindingFlags.DeclaredOnly
After that, do the same for the Client type and add the result.
source
share