## Thread::get_ManagedThreadId method


Gets identifier of thread. Can be got from OS, but if OS thread identifier exceeds int limits, ids of threads can intersect.

```cpp
int System::Threading::Thread::get_ManagedThreadId() const
```


### ReturnValue

Pseudo-unique thread identifier.

## See Also

* Class [Thread](../)
* Namespace [System::Threading](../../)
* Library [Aspose.PUB for C++](../../../)
