## CookieContainer::GetCookieHeader(System::SharedPtr\<Uri\>) method


إرجاع رأس HTTP يحتوي على ملفات تعريف الارتباط المرتبطة بالعنوان المحدد.

```cpp
String System::Net::CookieContainer::GetCookieHeader(System::SharedPtr<Uri> uri)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| uri | System::SharedPtr\<Uri\> | مسار URI الذي سيتم بناء اسم الرأس له. |

### ReturnValue

عنوان HTTP يحتوي على ملفات تعريف الارتباط المرتبطة بـ URI المحدد.

## انظر أيضًا

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Uri](../../../system/uri/)
* Class [CookieContainer](../)
* Namespace [System::Net](../../)
* Library [Aspose.Page for C++](../../../)
## CookieContainer::GetCookieHeader(System::SharedPtr\<Uri\>, String\&) method


إرجاع رأس HTTP يحتوي على ملفات تعريف الارتباط المرتبطة بالعنوان المحدد.

```cpp
String System::Net::CookieContainer::GetCookieHeader(System::SharedPtr<Uri> uri, String &optCookie2)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| uri | System::SharedPtr\<Uri\> | مسار URI الذي سيتم بناء اسم الرأس له. |
| optCookie2 | String\& | معامل الإخراج حيث سيتم تعيين ملف تعريف الارتباط بأقصى نسخة مدعومة. |

### ReturnValue

عنوان HTTP يحتوي على ملفات تعريف الارتباط المرتبطة بـ URI المحدد.

## انظر أيضًا

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Uri](../../../system/uri/)
* Class [CookieContainer](../)
* Namespace [System::Net](../../)
* Library [Aspose.Page for C++](../../../)
