12345678910111213141516171819202122 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ShareWifi.Model
- {
- class WifiModel
- {
- string ssid;
- string pwd;
- public string Ssid { get => ssid; set => ssid = value; }
- public string Pwd { get => pwd; set => pwd = value; }
- public string getWifi()
- {
- return "WIFI:T:WPA;P:\"" + Pwd + "\";S:" + Ssid + ";";
- }
- }
- }
|