CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
icredentials.h
1
2#pragma once
3
4#include <system/object.h>
5#include <system/shared_ptr.h>
6#include <system/string.h>
7#include <system/uri.h>
8
9namespace System { namespace Net {
10
11class NetworkCredential;
12
17class ASPOSECPP_SHARED_CLASS ICredentials : public virtual System::Object
18{
20 typedef ICredentials ThisType;
23
25 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
27 ASPOSECPP_SHARED_RTTI_INFO_DECL();
28
29public:
34 String authType) = 0;
35};
36}} // namespace System::Net
Provides the authentication interface. Objects of this class should only be allocated using System::M...
Definition: icredentials.h:18
virtual System::SharedPtr< NetworkCredential > GetCredential(System::SharedPtr< Uri > uri, String authType)=0
Returns credentials for the specified URI and authentication type.
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
Definition: db_command.h:9