Tengo un programa de consola en C++ que funciona perfectamente, pero para utilzarlo desde VB.NET me vendria mejor crear una .dll 
¿Como podria hacerlo?
				
			¿Como podria hacerlo?
Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.
Mostrar Mensajes Menú<?xml version="1.0"?>
<WLANProfile xmlns="http://www.microsoft.com/networking/WLAN/profile/v1">
	<name>NombrePerfil</name>
	<SSIDConfig>
		<SSID>
			<hex>75775657685794438794</hex>
			<name>NombrePerfil</name>
		</SSID>
	</SSIDConfig>
	<connectionType>ESS</connectionType>
	<MSM>
		<security>
			<authEncryption>
				<authentication>WPA2PSK</authentication>
				<encryption>AES</encryption>
				<useOneX>false</useOneX>
			</authEncryption>
			<sharedKey>
				<keyType>passPhrase</keyType>
				<protected>false</protected>
				<keyMaterial>1234567890</keyMaterial>
			</sharedKey>
			<keyIndex>1</keyIndex>
		</security>
	</MSM>
</WLANProfile>int size = 0;
    wchar_t* Perfil = profBuffer;
    std::string text(Perfil, Perfil + size);
    // define what we're looking for
    std::string begin_text("<name>");
    std::string end_text("</name>");
    // find the start and end of the text we need to extract
    size_t begin_pos = text.find(begin_text) + begin_text.length();
    size_t end_pos = text.find(end_text);
    // create a substring from the positions
    std::string extract = text.substr(begin_pos,end_pos);
    // test that we got the extract
    wprintf(L"\nINFO: Nombre del perfil: ", extract);