[C# Connection] Adding C# Connection code
[platform/core/csapi/tizenfx.git] / src / Tizen.Network.Connection / Tizen.Network.Connection / RequestProfile.cs
1 /*
2  * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.0 (the License);
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 using System;
18 using System.Collections.Generic;
19 using System.Linq;
20 using System.Text;
21 using System.Threading.Tasks;
22 using System.Runtime.InteropServices;
23
24 namespace Tizen.Network.Connection
25 {
26     /// <summary>
27     /// RequestProfile is interface for RequestCellularProfile and RequestWiFiProfile
28     /// </summary>
29     public interface RequestProfile : IDisposable
30     {        
31         /// <summary>
32         /// Gets the network type.
33         /// </summary>
34         ConnectionProfileType Type{ get; }
35         
36         /// <summary>
37         /// Gets the Proxy type.
38         /// </summary>
39         ProxyType ProxyType { get; set; }
40
41         /// <summary>
42         /// The proxy address.
43         /// </summary>
44         System.Net.IPAddress ProxyAddress { get; set; }
45
46         /// <summary>
47         /// The subnet mask address(Ipv4).
48         /// </summary>
49         IAddressInformation Ipv4Settings { get; }
50       
51         /// <summary>
52         /// The subnet mask address(Ipv4).
53         /// </summary>
54         IAddressInformation Ipv6Settings { get; }
55     }
56 }