---
title: "System::Security::Cryptography::CspKeyContainerInfo::get_KeyNumber method"
url: "https://reference.aspose.com/pub/cpp/system.security.cryptography/cspkeycontainerinfo/get_keynumber/"
product: "Aspose.PUB for C++"
description: "System::Security::Cryptography::CspKeyContainerInfo::get_KeyNumber method. Gets a KeyNumber object in C++."
---

## CspKeyContainerInfo::get_KeyNumber method


Gets a KeyNumber object.

```cpp
SharedPtr<KeyNumber> System::Security::Cryptography::CspKeyContainerInfo::get_KeyNumber() const
```

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Enum [KeyNumber](../../keynumber/)
* Class [CspKeyContainerInfo](../)
* Namespace [System::Security::Cryptography](../../)
* Library [Aspose.PUB for C++](../../../)
