There's an attribute called pwdlastset that you can read from your DirectoryEntry.Properties, but you have to convert it as it is in file time format.
Here's a previous thread for you: Check
password expired
Code samples are in VB.net though but I think you'll manage to translate. Let us know otherwise.
If this post was useful to you, please mark it as answer. Thank you!